"Word was unable to open the data source" error message in Word Mail Merge when you use an Access parameter query in Access 2002 (833064)
The information in this article applies to:
- Microsoft Access 2002
- Microsoft Word 2002
This
article applies only to a Microsoft Access database (.mdb).
Novice: Requires knowledge of the user interface on single-user
computers.
SYMPTOMSWhen you use Microsoft Access 2002 to try to merge the data
from a parameter query, you may receive the following error message. This error
message may occur when you use Microsoft Word Mail Merge Wizard with Microsoft
Word Mail Merge files. Word was unable to open
the data source. WORKAROUNDTo work around the problem, start Word Mail Merge from the
Word environment instead of from the Access environment. You may use one of the
following methods: Method 1: Use the parameter query as the data sourceYou can create a Word Mail Merge document by using the
Access parameter query from the Word environment. To do this, follow these
steps:
- Create a Word document or open a Word document.
- On the Tools menu, click
Options, and then click the General
tab.
- Click to select the Confirm conversion at
Open check box, and then click OK.
- On the Tools menu, point to
Letters and Mailings, and then click Mail Merge
Wizard.
- In the right pane, click the document type that you want
in the Select document type list box, and then click
Next: Starting document.
- In the Select starting document list box,
click the document that you want to use.
Note For any option other than Use the current
document, you must select the appropriate template or the appropriate
existing document before you continue. - Click Next: Select recipients.
- In the Select recipients list box, click
Use an existing list, and then click
Browse.
- Locate the Access database that contains the parameter
query that you want to use as your data source. Open this Access
database.
- In the Confirm Data Source dialog box,
click MS Access Databases via DDE (*.mdb;*.mde), and then
click OK.
- In the Microsoft Access dialog box, click
the Queries tab, click the parameter query that you want to
use, and then click OK.
The Enter Parameter
Value dialog box appears.
Note If the Enter Parameter Value dialog box does not
appear, press ALT+TAB one time. If Word does not respond, press ALT+TAB one
time. - In the Enter Parameter Value dialog box,
enter the required parameter value, and then click
OK.
- In the Mail Merge Recipients dialog box,
click OK.
Note If the Mail Merge Recipients dialog box does not
appear, press ALT+TAB one time. - Complete the Word Mail Merge.
Method 2: Export the parameter query and then use the exported document as the data sourceYou can also work around this problem by exporting the
parameter query to a file and then use the file as the data source in Word Mail
Merge. To do this, follow these steps:
- Start Access 2002.
- Open an Access database with the parameter query that you
want to use.
- In the Database window, click Queries in
the Objects section.
- In the right pane, click the parameter query that you want
to use.
- On the File menu, click
Export.
- In the Save as type combo box, click
Microsoft Word Merge (*.txt).
- In the File name box, type a name for the
Word Mail Merge file, and then click Export.
- In the Enter Parameter Value dialog box,
enter the required parameter value, and then click
OK.
- In a Word document, include this file as the data source
for the recipients.
REFERENCES286847 WD2002:
First mail merge recipient is duplicated when you connect to the data source
through the DDE method
Modification Type: | Major | Last Reviewed: | 4/20/2006 |
---|
Keywords: | kbtshoot kbQuery kbmerge kberrmsg kbprb KB833064 kbAudDeveloper |
---|
|