Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing multiple reports using one query parameter

Status
Not open for further replies.

rdkirb49

Technical User
Jun 24, 2004
33
US
I have a database with 13 reports. I need a way to print all the reports without having to reenter the parameter for each report. I tried using a form, I also set up macros with open query on the top. In each instance, I had to enter the query parameter for each record. Is there anyway to do this??? I don't know code, but I am real good with copy and paste ;}... Please help.

Reg
 
This is a major issue with using parameter prompts. Replace all parameter queries with references to text boxes (or other controls) on forms.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Replace all of your parameters with a reference to your form field. For example:
Code:
WHERE City=[Enter City]
becomes:
Code:
WHERE City=Forms!frmEnterCriteria!CityParm
This, of course, assumes that you have a textbox or combobox named CityParm in a form named frmEnterCriteria.


[shadeshappy] Cruising the Information Superhighway
(your mileage may vary)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top