ACC: Cannot Connect DDE from MS Word to Microsoft Access

Last reviewed: August 29, 1997
Article ID: Q109948
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0
  • Microsoft Word versions 6.0, 7.0

SYMPTOMS

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

When you are running a Mail Merge in Microsoft Word for Windows, you cannot connect to a Microsoft Access database using dynamic data exchange (DDE) because the DDE option is not available in the Confirm Data Source dialog box.

CAUSE

This problem occurs when Microsoft Word cannot determine that Microsoft Access is installed on your computer.

RESOLUTION

If Microsoft Access is installed on your computer, you may need to reinstall it to ensure that all of its settings are registered correctly. However, depending on your version of Microsoft Word and Microsoft Access, you may need to perform these additional steps:

If Using Microsoft Word 7.0 with Microsoft Access 2.0

You must add the path of the Microsoft Access folder to the PATH setting in the Autoexec.bat file.

-or-

Manually add the Microsoft Access settings to the Windows 95 registry.

NOTE: This resolution will not work when using long file names.

For more information on adding settings to the registry, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q137076
   TITLE     : WD: Can't Use Microsoft Access Files (.MDB or DDE) with
               Word

If Using Microsoft Word 6.0 with Microsoft Access 7.0

Microsoft Word version 6.0 looks in the Extensions section of the Win.ini file to determine whether Microsoft Access is installed. Because Microsoft Access version 7.0 registers itself only in the Windows 95 registry, the Win.ini file must be updated manually or by using the following steps:

  1. Start File Manager by clicking the Start button, clicking Run, and opening the Winfile.exe file.

  2. In File Manager, click Associate on the File menu.

  3. Type "MDB" (without the quotation marks) in the Files With Extension box.

  4. Click the Browse button.

  5. Select your Access folder in the Directories box, and then select the Msaccess.exe file in the File Name box.

  6. Click OK.
Keywords          : IntpDde IntpPrtm kbinterop
Version           : 1.0 1.1 2.0 7.0
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbprb
Solution Type     : Info_Provided


================================================================================


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: August 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.