Auto-update pageref fields in rtf document

The application I'm working on outputs documents to rtf format and PAGEREF fields are used in a table of contents page and an index page. The problem is that on opening the document the fields do not update and remain blank. They work correctly if you manually update the fields in Word. Is there a way to make these fields auto-update in the RTF spec?

-------------Problems Reply------------

You could try to create a Document_Open() macro, although you might not be able to add a macro to an rtf file. You might be able to add a macro at a template (.dot) and have the .rtf file reference the template.

Private Sub Document_Open()
End Sub

Category:ms word Views:0 Time:2008-12-11
Tags: ms word rtf

Related post

  • How do I stop updating "date field" in previous documents? 2013-08-27

    In Word 2007 I created a Template and inserted a date field. "Automatically update" was activated when I created the Template. I have since edited the Template and unactivated the auto update option. Now when I open any document I previously saved in

  • How to update ALL fields in a document at once--caption numbers in text boxes and the text layer, headers and footers. 2013-12-29

    My title just about says it--all of my all. I'm working on a long document; all of my inserted objects (figures and tables) are in text boxes with their captions. Throughout the editing process some objects have been deleted or moved so now they're c

  • Auto update MySql field 2012-01-02

    I have 2 mysql tables and I want that: 1) when I delete an article, the associated tags to be automatically deleted 2) when I add/delete a tag, the "hasTags" field from the articles to be auto updated (0 - for 0 tags, 1 - for 1+ tags). For 1 - I used

  • Update a field of a document in nano module of nodejs for couchdb 2012-01-24

    Say that there is a couchdb session opened through nano on node.js var dbserv = require('nano')('http://localhost:5984'); At the couchdb server dbserv can access, there is a database users with users that have a field groups that is an array. If I wa

  • Is it possible to auto-populate form fields between Word documents? 2014-06-02

    I'm looking for a form solution and would like to know whether Office for Mac supports what I'd like to do. Can I create a Word document containing a form where the user inputs text in form fields, and the data auto-populates in fields in the other l

  • Word 2013: How to insert auto-updatable data field shown in other language? 2015-01-25

    Hi everyone! In word 2013, I got quick parts > field for codes as it was in earlier versions. Now I am wondering about other languages. My requirement is in Bengali unicode. Suppose, I insert a filed code showing "01 January 2013" And it is updata

  • Append data to table and auto update a field 2014-08-08

    I want to append record from Table 1 to Table 2 and also update a field - Field in Table 1 : Description (Memo) - Field in Table 2 : SEQ (numeric) and Description (Memo) I want that after appending to Table 2, value in "SEQ" in Table 2 will automatic

  • How do you stop auto update of fields such as cross=references, Tables, Figures, etc, in the document, prior to printing or saving as pdf file? 2012-06-30

    I Have a large document, with captions such as end notes, Tables and figures in it. Once I have completed the document, I wanted to convert it to a pdf file or print it for review. Using MS word 2007. During the print preview, or while saving as pdf

  • cannot update lookup field when uploading document using CopyIntoItems 2009-12-16

    I am trying to upload a document from my local machine using the Copy.asmx webservice, the CopyIntoItems method. I can successfully upload the document and a DateTime property but I cannot update a lookup property of the document library. I am using

  • Auto update sluggable field with Doctrine 2010-08-05

    I'm using CodeIgniter with Doctrine in a project. One of my models has the Sluggable behavior. The slug is created according to another field X when the object is saved. I was wondering if there was a way to automatically update this slug field when

  • Is it possible for MySQL to "auto-update" a field whenever changes are made in another, unrelated table? 2012-02-25

    Let's say that we have one table with a field called sales_total and another table with a bunch of sales entries. Let's also, for a moment, imagine that it is impractical to count the entries every time we want to see the total number of sales. Is it

  • Reference field to another document 2014-03-15

    Hello to everyone. I want to auto-update a field in one document (doc A) through a point from another document (doc B). A first solution I am thinking is creating a bookmark in doc B and create a reference in doc A looking at the bookmark of doc B, b

  • Auto updating of linked objects on opening Word document 2013-07-07

    I have a Word 2007 document that contains a linked Excel 2007 worksheet. Word automatically updates the linked object whenever I open the Word document, which is fine. However, it always prompts me before doing so (asking if I want to update the link

  • Dynamically creating Office Open XML documents: update all fields on open 2009-02-09

    I am programmatically generating an Office Open XML document (Word 2007 format), and would like to have all the fields updated when the document I generate is first opened in Word. When I researched this a while ago, the only way to do this was to ru

  • Updating All Fields in a Word Document 2012-06-03

    Hi all I have seen a previous post on this but am going to re-post again as my question is slightly different and the advice given to use the Ctrl+Alt+F9 key does not work. I want to update the fields in my document as I actively am creating, can thi

  • How to auto update fields in Meteor? 2014-11-17

    I have around 20 fields in my template and depending on an event on the page (the user click on a button which do some verifications on the server who return updated values for these fields), I want to auto update these fields who all belong to the o

  • I'm trying to create a single field that will auto-populate other fields in my email. 2015-02-21

    Hello! I'm trying to create a single, "parent" text/data value, that when altered by me, will auto-populate other fields throughout my document. Here's the flow, as I see it: - I have a few tables with text at the top of my email. - I change the valu

  • Excel-like auto-updating table cells using jQuery 2009-09-24

    I have an HTML table structure that looks something along the lines of: PRICE QUANTITY TOTAL [5____] [2____] 10 (TOTAL1=PRICE1*QUANTITY1) The values in the price and quantity column are editable. These are HTML form fields. The values in the total co

  • MS Word 2010 Date and Time field doesn't auto update 2012-06-01

    I created a bunch of template documents using mail merge fields. I used the Insert\Date and Time field for the date and had the auto update field checked. The documents worked fine for several months. All of the sudden the date field doesn't work any

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.135 (s). 11 q(s)