You may receive the "Word was unable to open the data source" error message when you try to mail merge to Word by using an Access parameter query in Microsoft Access (888697)



The information in this article applies to:

  • Microsoft Office Access 2003
  • Microsoft Access 2002
  • Microsoft Office Word 2003
  • Microsoft Word 2002

INTRODUCTION

When you try to mail merge to Microsoft Word 2002 or a later version by using a Microsoft Access 2002 parameter query, you may receive the following error message:
Word was unable to open the data source.

MORE INFORMATION

You receive the error message that is mention in the "Introduction" section because you are trying to mail merge by using Microsoft Open Database Connectivity (ODBC).

The following steps demonstrate the mail merge process. The following steps use a new Word document. However, you can revise the steps to use an existing Word mail merge document. To mail merge with a parameter query, we recommend that you use dynamic data exchange (DDE).

The following steps are general steps that tell you how to mail merge with a parameter query:
  1. Start Word.
  2. On the Tools menu, click Options.
  3. On the General tab, click to select the Confirm conversion at Open check box, and then click OK.

    Note This lets you select the appropriate mail merge method.
  4. Create a new blank document.
  5. On the Tools menu, point to Letters and Mailings, and then click Mail Merge.
  6. In the Mail Merge pane, click one of the following document types under Select document type:
    • Letters
    • E-mail messages
    • Envelopes
    • Labels
    • Directory
    Note The following steps use the Letters document type as an example.
  7. In the Mail Merge pane, click Next Starting document.

    Note The active document becomes the main document.
  8. In the Mail Merge pane, click Next Select recipients.
  9. In the Mail Merge pane, click Browse under Use an existing list.
  10. In the Select Data Source dialog box, click your Access database in the Look in box, and then click Open.
  11. In the Confirm Data Source dialog box, click MS Access Databases via DDE (*.mdb, *.mde), and then click OK.
  12. In the Microsoft Access dialog box, click the Queries tab, and then click your query.
  13. In the Mail Merge Recipients dialog box, click OK.
  14. In the Mail Merge pane, click Next Write your letter.
  15. Write your letter, and then add your query data.
  16. In the Mail Merge pane, click Next Preview your letters.

    Note You are supposed to see a new document appear with the data from your query.
  17. In the Mail Merge pane, click Next Complete the merge to continue with the mail merge.

REFERENCES

For additional information about using an Access connection to Word, click the following article numbers to view the articles in the Microsoft Knowledge Base:

813989 You receive a Word could not re-establish a DDE connection error message in Word 2003

211193 Queries not available when using Access database

211353 Mail merge stops responding when you use an Access parameter query

214183 How to use mail merge with an Access parameter query in Word 2000


Modification Type:MajorLast Reviewed:12/9/2004
Keywords:kbmerge kberrmsg kbDatabase kbhowto KB888697 kbAudEndUser kbAudDeveloper