Field codes: DocProperty field

Microsoft Office Word 2003

"Name"

The property that appears in the Properties dialog box. To select a property, click the property name in the Property box in the Field dialog box (Insert menu).

ShowExamples

Contact: { DOCPROPERTY Manager \* Upper }

In this example:

  • Contact: is the text that precedes the field result.
  • DOCPROPERTY is the field name.
  • Manager is the text for the required instruction ("Name").
  • \* Upper is an optional switch to specify that the name is displayed in all capitals.

If the name of the Manager specified on the Summary field of the Properties dialog box is Anna Gerrard, inserting this field in your document results in the following:

Contact: ANNA GERRARD