ACC97: Word Does Not Quit After "Merge It with MS Word" Fails

Last reviewed: January 22, 1998
Article ID: Q179614
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

In Microsoft Access 97, when you use the "Merge It with MS Word" Wizard to merge a Microsoft Access table or query with a Microsoft Word 97 document, Microsoft Word 97 does not close automatically if the merge process fails.

RESOLUTION

You must manually close Microsoft Word 97 if the "Merge It with MS Word" Wizard fails.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In Microsoft Access 97, open a database and create the following new table:

             Table: Table1
             -------------------
             Field Name: Myfield
                Data Type: Text
    
    

  2. Save the table as Table1. When prompted to create a primary key, click No.

  3. In the Database window, select the Table1 table.

  4. On the Tools menu, point to Office Links, and then click "Merge It with MS Word."

  5. When the wizard starts, click the "Create a new document and then link the data to it" option. Click OK.

  6. After a few minutes, the Mail Merge Wizard returns the following error message:

          Word could not merge the main document with the data source because
          the data records were empty or no data records matched your query
          options.
    

  7. Click OK.

    Note that Microsoft Word 97 and the new merge document remain open.

REFERENCES

For more information about closing a Microsoft Word 97 Document through Automation, search the Microsoft Office 97 Automation Help File Index for "Closing a Microsoft Word Document."

For more information about obtaining the Microsoft Office 97 Automation Help File, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q167223
   TITLE     : Microsoft Office 97 Automation Help File Available on MSL


Additional query words: Word OLE Automation Quit Close
Keywords : AutPrb kbinterop
Technology : OLE
Version : WINDOWS:97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Solution Type : kbnofix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 22, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.