Hi there,
I am designing an Access report that will employ the same query ("Attendance ") multiple times.
Attendance accepts one parameter: Month ("...WHERE classmonth = [Month]"), and I have 12 sub-forms in my main form, each employing an instance of Attendance but with a different month supplied. Currently when I run the Attendance query a dialog box asks me to specify the month.
I actually have to run the query 12 distinct times; I cannot have the month supplied in the query itself, and thus cannot apply a simple filter to the query on month. I simplified the actual situation to get to the crux of my problem and prevent an overly long post.
I want to be able to use the same query 12 times in this report rather than having to save the query 12 distinct times.
Any ideas?
Thanks!
I am designing an Access report that will employ the same query ("Attendance ") multiple times.
Attendance accepts one parameter: Month ("...WHERE classmonth = [Month]"), and I have 12 sub-forms in my main form, each employing an instance of Attendance but with a different month supplied. Currently when I run the Attendance query a dialog box asks me to specify the month.
I actually have to run the query 12 distinct times; I cannot have the month supplied in the query itself, and thus cannot apply a simple filter to the query on month. I simplified the actual situation to get to the crux of my problem and prevent an overly long post.
I want to be able to use the same query 12 times in this report rather than having to save the query 12 distinct times.
Any ideas?
Thanks!
Comment