DOCUMENT:Q224697 14-NOV-2000 [word97] TITLE :WD97: Word Mail Merge Starts Second Instance of Access PRODUCT :Word 97 for Windows PROD/VER:WINDOWS:97 OPER/SYS: KEYWORDS:kbinterop kbdta word8 word97 kbmerge ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Word 97 for Windows ------------------------------------------------------------------------------- SYMPTOMS ======== When you perform a mail merge from Microsoft Word and use a Microsoft Access database, multiple instances of Access may be started. When you close Word, some instances of Microsoft Access do not close. CAUSE ===== This behavior occurs when the following conditions are true: - You use Dynamic Data Exchange (DDE) to connect to your database. -and- - The Application Title of your Access database has been changed so that it does not start with Microsoft Access. By default, when you use DDE to connect to your Access database, Word checks to see whether Microsoft Access is running. If Access is found, DDE then checks to see whether the database file is open. To do this, DDE checks for an open window (it checks the Application Title of the open window) that contains the string beginning with "Microsoft Access." If Word does not find a match for both of these criteria, it starts a new instance of the database program and then opens your database file. RESOLUTION ========== To resolve this problem when you use Dynamic Data Exchange to connect to your Microsoft Access database file, upgrade to Microsoft Word 2000. WORKAROUND ========== To prevent multiple instances of Microsoft Access being started when connecting to your database file, use one of the following methods: Method 1: Use ODBC ------------------ Connect to your Access database using Open Database Connectivity (ODBC). To do this, follow these steps: 1. Create the mail merge main document. To do this, follow these steps: a. On the Tools Menu, click Mail Merge. b. Click Create. Click to select the type of mail merge main document you want to create. c. Click either Active Window or New Main Document. 2. In the Mail Merge Helper, click Get Data and then click Open Data Source. 3. In the Open Data Source dialog box, click the Select Method check box. Select the *.mdb file you want to use, and click Open. 4. In the Confirm Data Source dialog box, click "MS Access Database via ODBC (*.mdb)" and click OK. 5. In the Select Table dialog box, select the table you want to use and click OK. Method 2: Delete Your Database Application Title ------------------------------------------------ If you modified the Application Title in your Access database, use the following steps to remove the Application Title: 1. In Microsoft Access, open your database file. 2. On the Tools menu, click Startup. 3. In the Startup dialog box, delete the contents of the Application Title box and click OK. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Word 2000. Additional query words: ====================================================================== Keywords : kbinterop kbdta word8 word97 kbmerge Technology : kbWordSearch kbWord97 kbWord97Search kbZNotKeyword2 Version : WINDOWS:97 Issue type : kbbug Solution Type : kbfix ============================================================================= 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. Copyright Microsoft Corporation 2000.