Microsoft KB Archive/168923
Article ID: 168923
Article Last Modified on 1/19/2007
- Microsoft Word 97 Standard Edition
This article was previously published under Q168923
When you use the DOCVARIABLE field in a header, footer, or text box, you may receive the following error message:
When you click Details (on Microsoft Windows Millennium Edition, press ALT+D), you receive the following message:
NOTE: The actual memory address may vary.
To resolve the problem described in this article, obtain and install the latest Microsoft Word 97 update from the following Microsoft Web site:
IMPORTANT NOTE: Microsoft Word 97 post-service release fixes are cumulative. The latest update contains all of the fixes since Service Release 2. If you install the latest update for Word 97, you do not need to install any other updates after Service Release 2.
For additional information about the fixes included in the latest update for Word 97, click the article number below to view the article in the Microsoft Knowledge Base:
265374 WD97: Post Service Release Fixes for Word 97
To work around this problem, use custom document properties (on the File menu, click Properties, and then click the Custom tab) to set custom document variables and then use the DOCPROPERTY field to use the values in a header, footer, or text box.
To Create a Custom Document Property
- On the File menu, click Properties, and then click the Custom tab.
- In the Name box, type a name for the custom property, or select a name from the list.
- In the Type box, click the type of property you want.
- In the Value box, type a value for the property.
The value you enter must match the selection in the Type box. For example, if you click Number in the Type box, you must type a number in the Value box. Values that don't match the property type are stored as text.
- Click Add.
- Click OK.
To Insert the DOCPROPERTY Field in the Document
- Click where you want to insert the DOCPROPERTY field.
- On the Insert menu, click Field.
- Click to select Document Information in the Categories list, and then click to select DocProperty in the Field names list.
- To add a custom document property to the field, click Options.
- From the Property list, select the custom property you want.
- Click Add to Field.
- In the Field Options dialog box, click OK.
- In the Field dialog box, click OK.
NOTE: For more information about a specific field or option, while in the Field dialog box, select the field name or option, and then press F1.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Word 2000.
If you insert a blank DOCVARIABLE field into a header or footer, that is, when you insert the field with no reference to a stored document variable, and then you later add the document variable reference and update the field, you do not receive the error described in the "Symptoms" section of this article. However, when you update the DOCVARIABLE field, the field remains blank.
Performing these same steps in a text box causes the error described in the "Symptoms" section of this article to occur when you update the field.
For additional information about the DOCVARIABLE field, click the article number below to view the article in the Microsoft Knowledge Base:
166098 WD97: DOCVARIABLE Field Is AUTOINDEX Field After Conversion
For more information about the DOCVARIABLE field, click Contents and Index on the Help menu, click the Index tab in Microsoft Word Help, type the following text
and then double-click the selected text to go to the "DOCVARIABLE field" topic. If you are unable to find the information you need, ask the Office Assistant.
Additional query words: 8.0
Keywords: kbhotfixserver kbqfe kbdownload kbbug kberrmsg kbfield kbfix kbqfe KB168923