WD97: Fillin Field Prompts Twice (164547)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q164547 SYMPTOMS
When you use the Fillin field in a new document, you are prompted twice for
the information.
CAUSE
Word 97 has a new feature that automatically updates a Fillin field
under the following conditions:
- The fill-in field is stored in a template other than Normal.dot.
-and-
- You create a new document based on this template.
NOTE: If a fillin field is placed in the normal template (Normal.dot),
that fillin field does NOT update automatically when a new
document is opened.
If you have an AutoNew or FileNew macro that issues a command to update
fields, Word 97 will prompt you twice for each of your Fillin fields when
creating a new document based upon the template containing the fields.
NOTE: This functionality is different from previous versions of Word,
and there is no way to turn off this feature.
WORKAROUNDMethod 1: Remove the AutoNew MacroNOTE: This method may remove other functionality if the AutoNew macro performs additional tasks other than updating the fields.
- On the Tools menu, point to Macro, and then click Macros.
- Click AutoNew.
- Click Delete.
- Click Yes to the Do you want to delete the macro? prompt.
- When you close the document, click Yes to save changes to the template.
Method 2: Lock the Fillin Fields- On the File menu, click Open and open your template.
- Display the field codes in your document. On the Tools menu, click
Options. Click the View tab. Under Show, click the Field Codes option
to select it, and then click OK.
- Select your Fillin field, and then press CTRL+F11.
This locks the Fillin field so it will not update. Repeat this step
for each of your Fillin fields.
- Create an AutoNew macro with the following statement:
ActiveDocument.Fields.Locked = False
' Note: If you do not want the fields
' to update automatically, do not add
' the following command line to your
' AutoNew macro.
ActiveDocument.Fields.Update
- Close and save the macro and your template.
NOTE: Word updates Fillin fields before running an AutoNew macro.
Because you have locked the Fillin fields, Word can only prompt once for
each of your fillin fields as a result of the AutoNew macro.
Method 3: Use Form Fields
Use form fields to enter information into your form instead of the Fillin
field.
For additional information, please see the following article in the
Microsoft Knowledge Base:
141990 How to Create an Online Form Using Form Fields
Method 4: Use the Ask field
Use the Ask field to prompt you for the required information. Then use
the REF field to insert the prompted information into your document.
For example:
{Ask Name "What is your name?"}{REF Name}
NOTE: Do not use the Fillin field.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/14/2000 |
---|
Keywords: | kbbug kbfield kbualink97 kbusage KB164547 |
---|
|