The information in this article applies to:
SYMPTOMS
An "illegal instruction" error may occur in Word 7 when you close a
document based on a template that is attached to a mail merge data file.
In Windows 3.x general protection (GP) fault may occur The GP fault occurs
whether you save the main document or not. In other words, the GP fault
occurs when you close a mail merge main document you created using a main
document template.
CAUSE
The GP fault occurs if you used DDE (dynamic data exchange) to create the
mail merge data file attachment in the template. The problem occurs
regardless of which main document type you create (namely Form Letters,
Mailing Labels, Envelopes, or Catalog).
STATUSMicrosoft has confirmed this to be a problem in Word versions 6.0, 6.0a and 6.00c for Windows. This problem was corrected in Word version 7.0 for Windows 95. WORKAROUNDSMethod 1: When you create a template for a mail merge main document, use the following procedure to attach the data file using ODBC instead of DDE:Method 2: If you want to use DDE to attach the data file, you can avoid the GP fault problem by closing the DDE channel to the data file before you close your Word document. You can add the following AutoClose macro to your template to close the channel:WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. REFERENCES"Microsoft Word User's Guide," version 6.0, pages 641-646, 676-692 Additional query words: 6.00a gpf break link winword word6 6.00c
Keywords : kbmerge |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |