Microsoft Word Version 2002 Inside Out (Inside Out (Microsoft))

3 4

A field lets Word know that there's additional information you want to include, or an action you want to perform, in a document. You add a field by choosing Insert, Field. The Field dialog box opens so that you can make your choices about the particular field and options you want to use. (See Figure 36-1.)

Figure 36-1. You insert a field by using the Field dialog box.

Field Anatomy

When you make the selections for the field, Word inserts a field code in the document at the insertion point. This is the code that tells Word what to insert or what action to call for when the user is working with the document. A field code like the following one includes four basic elements:

{ DATE \@ "dddd, MMMM dd, yyyy" \* MERGEFORMAT }

Field Functions

Fields have three basic functions in Word. You might use a field to perform a certain kind of action, to mark a specific item, or to display the results of a calculation.


Fields You're Already Using

For some procedures, Word adds fields behind the scenes. When you create a table of contents, for example, Word adds {TOC} codes in your document. When you create an index, Word adds the index entry {XE} codes as field codes. Other examples of field codes that might be in your document include these:


Категории