Microsoft KB Archive/214183

= HOW TO: Use Mail Merge with an Access Parameter Query in Word 2000 =

Article ID: 214183

Article Last Modified on 6/29/2004

-

APPLIES TO


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

-



This article was previously published under Q214183



IN THIS TASK
SUMMARY
 * How to Perform a Mail Merge Operation by Using an Access Parameter Query

REFERENCES



SUMMARY
This article explains how to merge a Microsoft Word document with a Microsoft Access database by using a parameter query.

An Access parameter query extends the flexibility of other Access queries by prompting the user to enter certain parameter values 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 Microsoft Access Help on the Help menu, type create a parameter query that prompts for criteria each time it is run in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

back to the top

How to Perform a Mail Merge Operation by Using an Access Parameter Query
To merge a Word document with an Access query by using a parameter query, follow these steps:  Start Word, and then open a new blank document. On the Tools menu, click Mail Merge. Click Create in the Mail Merge Helper dialog box, and then select the type of document to merge (such as Form Letters or Mailing Labels). Click New Main Document. Click Get Data, and then click Open Data Source. In the Files of type box, click MS Access Databases (*.mdb;*.mde). In the Look in box, navigate to the folder in which the Access database file is located. Select the database that you want to use, click to select the Select method check box, and then click Open.</li> In the Confirm Data Source dialog box, click MS Access Databases via DDE (*.mdb;*mde), and then click OK.

The Microsoft Access dialog box is displayed.</li> Click the Queries tab.</li> Select the parameter query in the Queries in  list, and then click OK.

NOTE:  is the name of your Access database.</li> A dialog box is displayed on the screen as a result of the parameter query.

NOTE: If the dialog box is not displayed and Word does not appear to be responding, press ALT+TAB once.

The dialog box should now appear.For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

211353 WD2000: Mail Merge Stops Responding When You Use an Access Parameter Query

</li> In the Parameter Query dialog box, type the parameter that is required, and then click OK.</li> Click Edit Main Document in the Microsoft Word dialog box that appears.</li> Insert the merge fields in the main document, and then perform the mail merge as usual.</li></ol>

back to the top

<div class="references_section">