T
Tony_VBACoder
Does anyone know how I can get a Word 2002 Mail Merge to
successfully connect to an Access 2002 parameter query
without getting the "Too Few Parameters" error? I have
looked at the following MSKB article relating Word 2000,
but Word 2002 is quite different:
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;214183
My system setup is:
* Word 2002
* Secured Access 2002 database
* An ODBC Entry named "SAMS" that points to my Secured MDB
using the correct "System Database" MDW file.
The problem I am having is:
1) Start Word 2002 and go through the Tools>Letters and
Mailings>Mail Merge Wizard
2) On Step #3 of the Wizard, I select "Browse". This
brings up the "Select Data Source" dialog box
3) At the top of the form in the upper-right corner, I
click on the "Tools" drop down arrow and select "MS Query"
4) This brings up the "Choose Data Source" dialog box. I
select my ODBC Entry titled "SAMS" from the "Databases"
tab, which is set to point to my secured DB
5) This loads the Query Wizard where I select my Access
Parameter Query from the "Available tables and columns"
list. When I select my parameter query, all the columns
in the query are available to select. I select my
necessary fields that I want to show in my Word Mail Merge
document and click the Next button
6) Click Next twice to get to the "Finish" screen. Here,
I select the "Return Data to Microsoft Word" radio button
and click the "Finish" button.
7) At this point I get the "Too few parameters. Expected
n." error, where n is the number of parameters in my
parameter query.
How do I get around this "Too few parameters. Expected n."
error?
successfully connect to an Access 2002 parameter query
without getting the "Too Few Parameters" error? I have
looked at the following MSKB article relating Word 2000,
but Word 2002 is quite different:
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;214183
My system setup is:
* Word 2002
* Secured Access 2002 database
* An ODBC Entry named "SAMS" that points to my Secured MDB
using the correct "System Database" MDW file.
The problem I am having is:
1) Start Word 2002 and go through the Tools>Letters and
Mailings>Mail Merge Wizard
2) On Step #3 of the Wizard, I select "Browse". This
brings up the "Select Data Source" dialog box
3) At the top of the form in the upper-right corner, I
click on the "Tools" drop down arrow and select "MS Query"
4) This brings up the "Choose Data Source" dialog box. I
select my ODBC Entry titled "SAMS" from the "Databases"
tab, which is set to point to my secured DB
5) This loads the Query Wizard where I select my Access
Parameter Query from the "Available tables and columns"
list. When I select my parameter query, all the columns
in the query are available to select. I select my
necessary fields that I want to show in my Word Mail Merge
document and click the Next button
6) Click Next twice to get to the "Finish" screen. Here,
I select the "Return Data to Microsoft Word" radio button
and click the "Finish" button.
7) At this point I get the "Too few parameters. Expected
n." error, where n is the number of parameters in my
parameter query.
How do I get around this "Too few parameters. Expected n."
error?