Here is what I would like to do. I don't know if this is possible or not, or how to do it.
I have a command button on a form on the "on click" that runs several queries at once. These queries already have criteria in them. But now I realize there are several other reports I can run using these same queries, except I need to change the criteria in each one (there are quite a few).
Is it possible to remove the crieria from the queries themselves and then be able to enter the criteria I need for all the queries when I click the command button.
For example I want all the queries to run based on this criteria:
between[Beginning Date]And[Ending Date]
For another report - I do not need the date criteria, but need to set the criteria for all the queries to Yes on a Yes/No field.
I am hoping I do not have to go in and change or copy all these queries each time I want to change the criteria I need.
Sorry for being so long-winded - I hope this makes sense.
Thanks
Terry
I have a command button on a form on the "on click" that runs several queries at once. These queries already have criteria in them. But now I realize there are several other reports I can run using these same queries, except I need to change the criteria in each one (there are quite a few).
Is it possible to remove the crieria from the queries themselves and then be able to enter the criteria I need for all the queries when I click the command button.
For example I want all the queries to run based on this criteria:
between[Beginning Date]And[Ending Date]
For another report - I do not need the date criteria, but need to set the criteria for all the queries to Yes on a Yes/No field.
I am hoping I do not have to go in and change or copy all these queries each time I want to change the criteria I need.
Sorry for being so long-winded - I hope this makes sense.
Thanks
Terry