Field codes: Ask field

Microsoft Office Word 2003

Bookmark "Prompt " [Switches ] }

Prompts you to enter information and assigns a bookmark to represent your response. You must insert a REF field after the ASK field where you want Microsoft Word to print the response in the document. You can use the information entered in other fields to compute a bookmark value— such as an = (Formula field)— by inserting the bookmark name in the other field's instructions.

Word displays the prompt each time the ASK field is updated. A response remains assigned to the bookmark until you enter a new response. If the ASK field is used in a mail merge main document, the prompt is displayed each time you merge a new data record unless you use the \o switch.

ShowInstructions

Bookmark
The bookmark name assigned to the response to the prompt, for example, ClientName.
"Prompt"
Prompt text, which is displayed in a dialog box, for example, "Enter the client's name."

ShowSwitches

\d "Default "
Specifies a default response if you don't type a response in the prompt dialog box. For example, the field
{ ASK Typist "Enter typist's initials:" \d "tds" } assigns "tds" to the bookmark "Typist" if you don't enter a response.

If you don't specify a default response, Word uses the last response entered. To specify a blank entry as the default, type empty quotation marks after the switch; for example, type \d "" .

\o

When used in a mail merge main document, displays the prompt once instead of each time you merge a new data record. The same response is inserted in each resulting merged document.