Microsoft KB Archive/198916

= ACC2000: Word DDE Connection Error Using Table or Query with Quotation Marks =

Article ID: 198916

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition
 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q198916



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



SYMPTOMS
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 has quotation marks in its name.



RESOLUTION
Before you try to create a DDE link, you should rename any table or query that you want to use in the DDE connection with Word so that it doesn't have quotation marks.



Steps to Reproduce Behavior

 * 1) In Microsoft Access, open a database and create a table that contains some data.
 * 2) Close and save the table as "Table"1. Be sure to include the quotation marks.
 * 3) Open Microsoft Word 2000 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.

