SimonTheSponge
Programmer
I am completely new to access, so this is a complete newbie question
I have a report that is bound and has all of its controls bound to a query.
I would like to run this report for 2 different sets of criteria one after the other
DoCmd.OpenReport reportname 'using first criteria
DoCmd.OpenReport reportname 'using second criteria
If I pass in another query with the same fields/data structure as the query that the report is bound to will the report then use this query instead. If not how do I dynamically change the query that the report is bound to and how do I call it as such
Thanks
Simon ;-)
I have a report that is bound and has all of its controls bound to a query.
I would like to run this report for 2 different sets of criteria one after the other
DoCmd.OpenReport reportname 'using first criteria
DoCmd.OpenReport reportname 'using second criteria
If I pass in another query with the same fields/data structure as the query that the report is bound to will the report then use this query instead. If not how do I dynamically change the query that the report is bound to and how do I call it as such
Thanks
Simon ;-)