Field codes: Fill-in field

{ FILLIN ["Prompt "] [Switches ] }

Prompts you to enter text. Your response is printed in place of the field (field: A set of codes that instructs Microsoft Word to insert text, graphics, page numbers, and other material into a document automatically. For example, the DATE field inserts the current date.). To insert your response in more than one location, use an ASK field.

The prompt is displayed each time the FILLIN field is updated. If the FILLIN field is in a mail merge main document (main document: In a mail-merge operation in Word, the document that contains the text and graphics that are the same for each version of the merged document, for example, the return address or salutation in a form letter.), the prompt is displayed each time a new data record (data record: A complete set of related information that corresponds to one row of information in the data source. All information about one client in a client mailing list is an example of a data record.) is merged unless you use the \o switch.

When a new document is created based on a template (template: A file or files that contain the structure and tools for shaping such elements as the style and page layout of finished files. For example, Word templates can shape a single document, and FrontPage templates can shape an entire Web site.) containing FILLIN fields, the fields are updated automatically.

ShowInstructions

"Prompt"

Text displayed in the dialog box, for example, "Enter the client's name:"

ShowSwitches

\d "Default"

Specifies a default response if you type nothing in the prompt dialog box. The field { FILLIN "Enter typist's initials:" \d "tds" } inserts "tds" if no response is entered.

If you don't specify a default response, Microsoft 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

Prompts just once during a mail merge instead of each time a new data record is merged. The same response is inserted in each resulting merged document.

ShowExample

This FILLIN field helps you fill in the correct information by displaying the patient name from the current data record; for example, "Please enter the appointment time for Mindy Martin." Insert an ASK or FILLIN field in the main document, and then insert the merge field in the field codes (field code: Placeholder text that shows where specified information from your data source will appear; the elements in a field that generate a field's result. The field code includes the field characters, field type, and instructions.).

{ FILLIN "Please enter the appointment time for { MERGEFIELD PatientName }:"}

 
 
Applies to:
Word 2003