WD98: DocProperty Field Truncated After 127 Characters (191282)



The information in this article applies to:

  • Microsoft Word 98 Macintosh Edition

This article was previously published under Q191282

SYMPTOMS

When you insert the contents of a document property into a Word document, the contents of the field may be truncated after 127 characters.

NOTE: This problem occurs when you use a property listed on the Custom tab. To view the custom tab, click Properties on the File menu.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION

Field codes: DocProperty field
   {DOCPROPERTY "Name "}
				
Inserts the indicated document information that is currently entered in the Properties dialog box (File menu).
   Instruction     Explanation
   -----------------------------------------------------------------------
   "Name"          The property that appears in the Properties dialog box.
                   To select a property, click Options in the Field dialog
                   box (Insert menu).

Example:

   Field                                Displays
   ----------------------------------------------------------
   Contact: { DOCPROPERTY Manager }     Contact: Anna Gerrard
				

To Set a Custom Document Property

  1. In a saved Word document, click Properties on the File menu.
  2. On the Custom tab, type (or select) a property name.
  3. In the Value box, type the text for the custom property, and then click OK.

To Retrieve a Custom Document Property

  1. In a saved Word document, click Field on the Insert menu.
  2. Under Categories, select Document Information.
  3. Under Field names, select DocProperty and then click Options.
  4. On the Options tab, select the custom property you set in steps 2-3 of the "To Set a Custom Document Property" section of this article.
  5. Click Add to Field.
  6. Click OK to close the Field Options dialog box. And then Click OK to close the Field dialog box.

Modification Type:MinorLast Reviewed:10/29/2004
Keywords:kbbug kbfield kbfix KB191282