K
Keith Heffner via AccessMonster.com
In an effort to automate the creation of several reports, each based on a group number, I'm curious to know if there is a way to pass a variable to a query to select only the records in that group. I need to do this without resorting to prompting the user to enter a variable each time the query is run.
Currently, I've got each report and query set up separately (query1, report1, query2, report2, etc) and in order to modify any information on one report or query I have to update them all. Not to mention that my report and query windows are packed because of the duplicates. I'd like to make one query that I can pass an argument to and thereby eliminate the duplicate queries and reports.
Any assistance or ideas on how I can do this would be greatly appreciated.
Currently, I've got each report and query set up separately (query1, report1, query2, report2, etc) and in order to modify any information on one report or query I have to update them all. Not to mention that my report and query windows are packed because of the duplicates. I'd like to make one query that I can pass an argument to and thereby eliminate the duplicate queries and reports.
Any assistance or ideas on how I can do this would be greatly appreciated.