WD2000: DocProperty Field Truncated After 127 Characters

ID: Q211204


The information in this article applies to:
  • Microsoft Word 2000


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

The DocProperty field looks like this:

{DOCPROPERTY "Name"}
You can use the DocProperty field to insert the document information that you enter in the Properties dialog box (on the File menu, click Properties). The instruction in the DocProperty field code, Name, is whichever property you select. For example, if you select the Manager property, when you insert the DocProperty field in your document, the manager's name is displayed. To select a property, click Options in the Field dialog box (on the Insert menu).

Example:

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

To Set a Custom Document Property

  1. In a saved Word document, on the File menu, click Properties.


  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, on the Insert menu, click Field.


  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 and 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.


  7. Click OK to close the Field dialog box.


Additional query words: cutoff dropped chopped cropped missing gone

Keywords : kbdta kbfield wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 4, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.