GP Fault with DocProperty Field in Header or Footer (142338)



The information in this article applies to:

  • Microsoft Word for Windows 6.0
  • Microsoft Word for Windows 6.0a
  • Microsoft Word for Windows 6.0c
  • Microsoft Word for Windows 95
  • Microsoft Word for Windows 95 7.0a

This article was previously published under Q142338

SYMPTOMS

When you open a Word 7.0 document in Word 6.0 and that document contains the DocProperty field in the header or footer, you get the following general protection fault:
Winword caused a General Protection Fault in Module Winword.exe at 006D:08D4.
This error does not occur when you use Microsoft Word for Windows NT, version 6.0, or Microsoft Word for the Macintosh, version 6.0.

When you use the DocProperty field code in the body of the document, the field code displays the following result instead of the general protection fault:
Error! Bookmark not defined.

CAUSE

Word 6.0 does not support the DocProperty field code. The DocProperty field is a new feature of Word 7.0. This field is used to insert information from the Properties dialog box (File menu) into your document.

WORKAROUND

Method 1

Use one of the following equivalent field codes instead of the DocProperty field code.
             DocProperty Property              Equivalent Field Code
             --------------------              ---------------------
             Author                            Author
             Bytes                             Filesize
             Characters                        Numchars
             Comments                          Comments
             CreateTime                        CreateDate
             Keywords                          Keywords
             LastPrinted                       PrintDate
             LastSavedBy                       LastSavedBy
             LastSavedTime                     SaveDate
             Pages                             NumPages
             Subject                           Subject
             Template                          Template
             Title                             Title
             TotalEditingTime                  EditTime
             Words                             Numwords
				

Method 2

Unlink the field code in Word 7.0. For example, the properties listed below do not have equivalent field codes in Word 6.0. To preserve the field results, unlink the field.

Category
Company
Lines
Manager
NameofApplication
Paragraphs
RevisionNumber
Security

STATUS

Microsoft has confirmed this to be a problem in the versions of Word listed at the beginning of this article. This problem was corrected in Microsoft Word 97 for Windows.

Modification Type:MinorLast Reviewed:8/17/2005
Keywords:kbfield KB142338