Article ID: 198293
Article Last Modified on 1/23/2007
APPLIES TO
- Microsoft Word 97 Standard Edition
- Microsoft Access 97 Standard Edition
This article was previously published under Q198293
SUMMARY
This article describes how to merge a Word document with a Microsoft Access database using a parameter query.
MORE INFORMATION
A Microsoft Access parameter query extends the flexibility of other Microsoft Access queries by prompting the user to enter certain criteria each time the query is run.
This article assumes that there is a proper parameter query in Access. For more information about parameter queries, click Contents and Index on the Help menu, click the Index tab in Microsoft Access Help, type the following text
parameter queries
and then double-click the selected text to go to the "Create a parameter query that prompts for criteria each time it's run" topic. If you are unable to find the information you need, ask the Office Assistant.
To merge a Word document with a Microsoft Access query using a parameter query, use the following steps:
- Start a new Word document.
- On the Tools menu, click Mail Merge.
- Click the Create button on the Mail Merge Helper, and select the type of document to merge (such as Form Letter or Mailing Labels).
- Click New Main Document.
- Click the Get Data button, and select Open Data Source.
- Change the List Files to MS Access Databases (*.mdb), and change to the folder where Microsoft Access is located.
- Select the database you want to use, click the Select Method check box to select it, and click the OK or Open button.
- In the Confirm Data Source dialog box, select MS Access Databases via DDE (*.mdb), and click OK.
A Microsoft Access dialog box is displayed.
- Click the Queries tab.
- Select the parameter query from the list of queries, and click OK.
- A dialog box appears on the screen as a result of the parameter query.
If the dialog box does not appear, and Word does not seem to be responding, press ALT+TAB once. The parameter query prompt dialog box should now appear.
- Type the information in the Parameter Query dialog box and click OK.
- A Word dialog box appears. Click Edit Main Document.
- Insert the merge fields in the main document, and perform the mail merge as usual.
REFERENCES
For additional information, please see the following articles in the Microsoft Knowledge Base:
Keywords: kbhowto KB198293