WD2000: Fillin Field Prompts Twice

ID: Q211597


The information in this article applies to:


SYMPTOMS

When using the FILLIN field in a new document, you are prompted twice for the information.


CAUSE

Word automatically updates a FILLIN field under the following conditions:

If you have an AutoNew or FileNew macro that issues a command to update fields, Word prompts 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 versions of Word earlier than Word 97, and there is no way to turn off this feature.


WORKAROUND

Method 1: Lock the Fillin Fields

  1. On the File menu, click Open and open your template.


  2. Display the field codes in your document. On the Tools menu, click Options. Click the View tab. Under Show, select the Field codes check box, and then click OK.


  3. Select your FILLIN field, and then press CTRL+F11.

    This locks the FILLIN field so it is not updated. Repeat this step for each of your FILLIN fields.


  4. Create an AutoNew macro with the following statement(s):
    
    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 


  5. 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 2: Use Form Fields

Use form fields to enter information into your form instead of the FILLIN field.

For additional information about using form fields, please see the following article in the Microsoft Knowledge Base:
Q212328 WD2000: How to Create an Online Form Using Form Fields

Method 3: 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.

For more information about the ASK field, click Microsoft Word Help on the Help menu, type Field Codes: ASK field in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

For more information about the REF field, click Microsoft Word Help on the Help menu, type Field Codes: REF field in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Microsoft Word retained, for backward compatibility, the use of certain fields to prompt you for the insertion of information into your document. In earlier versions of Word, you can use the ASK or FILLIN fields to prompt you for information. Using these fields requires a macro that forces Word to bring up the field prompts automatically.

Microsoft Word automatically brings up the prompt for any FILLIN field you may have in your document without the use of a macro, but it does not bring up the prompt for the ASK field.

For additional information about using FILLIN fields, please see the following article in the Microsoft Knowledge Base:

Q238278 WD2000: How to Create an Automated Form with Fillin Fields

Additional query words:


Keywords          : kbusage kbdta kbfield wd2000 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 30, 1999