Microsoft KB Archive/115248

From BetaArchive Wiki
Knowledge Base


DATE Field Nested in ASK or FILLIN Prompts Multiple Times

Article ID: 115248

Article Last Modified on 8/16/2005



APPLIES TO

  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0a
  • Microsoft Word 6.0c
  • Microsoft Word 95 Standard Edition



This article was previously published under Q115248

SYMPTOMS

A DATE field nested in an ASK or FILLIN field that is updated automatically by an AutoOpen or AutoNew macro may prompt you for a response several times, depending on which view the document was last saved in. For example:

   {FILLIN "What is the start date?" \d {date}}
                

If the document was last saved in page layout view, you will see this prompt when you first open the file but before the document appears on the screen. If this prompt appears after other ASK or FILLIN fields in the document, it will reappear when the prompts appear in their proper order.

If you are in normal view when you open the document, the prompt will appear normally.

NOTE: The prompt containing the DATE field also appears anytime you do the following:

  • Switch from normal view to page layout view.
  • Change from any view to print preview.


CAUSE

The DATE field forces the ASK or FILLIN field to recalculate, which "dirties" the instructions of the ASK or FILLIN field, causing multiple prompts.

STATUS

This problem was corrected in Word 97.

WORKAROUND

Method 1: Remove the DATE field from the ASK or FILLIN field.

Method 2: Switch to Normal view before you save the document.

Adding the ViewNormal command to the beginning of the AutoNew or AutoOpen macro has no effect.


Additional query words: 6.00a field codes ask word7 6.00c word95 winword fillin AutoNew AutoOpen multiple

Keywords: kbprint kbmerge KB115248