ACC97: Word DDE Connection Error Using Table or Query w/ Quotes

Last reviewed: June 6, 1997
Article ID: Q168314
The information in this article applies to:
  • Microsoft Access 97
  • Microsoft Word 97 for Windows

SYMPTOMS

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

When you try to establish a DDE connection from a Word document to a Microsoft Access table or query by using the Insert Database command in Word, you may receive the following error message:

   Word could not re-establish a DDE connection to
   Microsoft Access to complete the current task.

CAUSE

The table or query in Microsoft Access that you are trying to link to has quotation marks in its name.

RESOLUTION

You should rename any table or query that you want to use in a DDE connection with Word without the quotation marks before you try to create the DDE link.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In Microsoft Access 97, open a database and create a table that contains some data.

  2. Close and save the table as "Table"1 (make sure you include the quotation marks).

  3. Open Microsoft Word and create a new document.

  4. On the View menu, point to Toolbars, and then click Database.

  5. On the Database toolbar, click the Insert Database button. In the Database dialog box, click Get Data.

  6. In the Open Data Source dialog box, in the Files Of Type box, click MS Access Databases (*.mdb).

  7. In the File Name box, type the name of the Microsoft Access database that contains the table that you want to open, and then click Open.

  8. In the Microsoft Access dialog box, click the Tables tab, and then click the "Table"1 table. Click OK. Note that you receive the error message mentioned in the "Symptoms" section.

REFERENCES

For more information about exporting Microsoft Access data to Word, search the Help Index for "Word (Microsoft), exporting Access data to Word," or ask the Microsoft Access 97 Office Assistant.


Keywords : IntpDde kbinterop
Version : 97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Resolution 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: June 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.