Stemdriller
Registered User.
- Local time
- Today, 11:25
- Joined
- May 29, 2008
- Messages
- 187
Hi Everyone
I have a query thats drives a report. When the user selects the report they get asked 3 questions Reason, Dept and Category all driven from the underlying query.
The report then displays on the screen.
I placed a Print button on the report with the following code.
DoCmd.OpenReport "rptMain", acViewPreview
But when the button is selected the user gets asked the same 3 questions again? I guess it is re running the query.
Can anyone enlighten me as to why?
Thanks
I have a query thats drives a report. When the user selects the report they get asked 3 questions Reason, Dept and Category all driven from the underlying query.
The report then displays on the screen.
I placed a Print button on the report with the following code.
DoCmd.OpenReport "rptMain", acViewPreview
But when the button is selected the user gets asked the same 3 questions again? I guess it is re running the query.
Can anyone enlighten me as to why?
Thanks