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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple report using same query

Status
Not open for further replies.

OAKLEYS21

MIS
Jun 28, 2004
20
CA
Hello,

I have several reports with sub reports that all use the same query. I want to open them all at once with the same set of criteria. I created a macro to do it except when I run the macro I have to enter the same parameter value 6 times to open the different reports at the same time. (it prompts me 6 time to "enter lease number") Is there a way I can set either the reports or the macro so that I can only enter the criteria once? Thanks.
 
Change the query to get the lease number from your form.
On the criteria line...=Forms!frmYourForm!txtLeaseNumber


Randy
 
Thanks Randy,

Unfortunatley that didn't work any other ideas? that I can try??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top