Tuesday, November 16, 2004

Access Parameter Query into Word Mail Merge

Sometimes I work on other stuff besides SBS...yeah I know I'm not comfortable with it but I do my best! Recently a client had a problem where their paramater query in Access wouldn't show up when they wanted to do a mail merge in Word (all version 2003). It only showed the tables not the queries. A parameter query allows you to narrow your table information down to restrictions such as give me all membership dates that begin after November 1st but before November 30th.

So after some digging here's what you need to do. Hope it helps!

Method 1: Use the parameter query as the data source
You can create a Word 2003 Mail Merge document by using an Access 2003 parameter query in the Word 2003 environment. You can use the parameter query as the data source of the Word 2003 Mail Merge process. To do this, follow these steps:
1. Create a Word 2003 document or open a Word 2003 document.
2. On the Tools menu, click Options, and then click the General tab.
3. Click to select the Confirm conversion at Open check box, and then click OK.
4. On the Tools menu, point to Letters and Mailings, and then click Mail Merge.
5. In the right pane, click the document type that you want to create in the Select document type list box, and then click Next: Starting document.
6. 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.
7. Click Next: Select recipients.
8. In the Select recipients list box, click Use an existing list, and then click Browse.
9. Locate the Access 2003 database that contains the parameter query that you want to use as your data source. Open this Access 2003 database.
10. In the Confirm Data Source dialog box, click MS Access Databases via DDE (*.mdb;*.mde), and then click OK.
11. In the Microsoft Access dialog box, click the parameter query on the Queries tab that you want to use as the data source, 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 2003 does not respond, press ALT+TAB one time.
12. In the Enter Parameter Value dialog box, enter the parameter value that you want to use, and then click OK.
13. 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.
14. Complete the Word 2003 Mail Merge process.

17 Comments:

At 2/09/2005 03:10:00 PM, Anonymous said...

You have no idea how much time I have wasted trying to figure this out. Trust me I know how to use mail merge I could not figure out why I couldn't see my the query that I created. You blog is the only thing I found that touched on this.

Thanks, Kipp

 
At 3/15/2005 11:45:00 PM, Sai said...

You really saved me a lot of time. Thanks a lot for figuring this out!

 
At 4/12/2005 01:13:00 PM, Anonymous said...

cheers, brilliant, did it once then forgot

 
At 5/31/2005 11:25:00 PM, Anthony said...

Tavis, YOU ARE A GOD!!!
I want to have your babies.

 
At 6/02/2005 07:58:00 AM, Anonymous said...

I am so glad I came to your page!
Having only just got the hang of queries in access (yeah, I know I'm slow) I wanted to use them in word but thought it was impossible.
Thank you Thank you Thank you

 
At 6/22/2005 11:53:00 PM, Anonymous said...

You are a total legend!! I couldn't see anything I was doing was wrong. Thanks for figuring out that first step.

Thanks EJ

 
At 7/14/2005 08:00:00 PM, Anonymous said...

Thank you, you are a life saver!!

 
At 8/30/2005 05:45:00 PM, Anonymous said...

I too have alot of experience writing parameter queries and mail merges and until I found your site - I thought I was going crazy! This works great - and thanks

 
At 10/21/2005 03:41:00 PM, Henry said...

But what's Method 2? I'm still having problems with this. It works on my machine but not the client's. And we're on the same level of Office. Even though Confirm Open is checked, she never gets to choose DDE. It just fails.

 
At 4/02/2006 07:03:00 PM, Doug said...

Dude, thanks a million for explaining this. I used to use param qaueries all the time with Word 2000, which listed them straightforwardly. What genius at Microsoft decided it would be a great idea to a) lock away something that used to be obvious, and b) hide the key in an obscure place? My hat is off to you.

 
At 6/28/2006 12:06:00 PM, ta_forever said...

Wow you are amazing, i cannot begin to describe how much time I wasted on this crap. Thanks alot for figuring this out.

 
At 1/21/2007 07:20:00 AM, Anonymous said...

this article saved my f***ing life

thank yu

 
At 3/21/2007 12:29:00 AM, Anonymous said...

This is great I just spent 4 hours looking for this answer!!

 
At 3/21/2007 12:35:00 AM, Anonymous said...

You are the best!!! I just spent 4 hours trying and trying but can't do it until I found the answer here!

 
At 10/04/2007 07:37:00 PM, Paul from Sydney Australia said...

Hi, I would like to add my thnaks for posting this. It also helped me heaps

 
At 10/24/2007 02:11:00 PM, Anonymous said...

I did your fix and it works great, but my users normally are in access opening docs to merge their data. They aren't going to be able to open the word doc and select the parameter. Most of them are database ID's? Anyway to still allow acceess to open the word doc with the parameter being passed?

 
At 10/31/2007 08:12:00 AM, Anonymous said...

thanks, Llevaba horas buscando una consulta que no me mostraba MS Word. Me has abierto los ojos con la opción
Confirmar conversiones.

 

Post a Comment

<< Home