I'm building a report at the moment that needs to have multiple aggregate queries (mostly sums and counts of different things).
I built a main report and have subreports that contain each individual query. All of these queries have parameters for a date range (which will be the same).
So, when I pull my report up, it asks about 12 times for the same parameters (start and end date). What is an effective solution to this problem?
The ugly workaround (for lack of a better solution) I was planning on using is to have the queries reference a form value. example :
SELECT count(*) FROM tblTests
WHERE testdate >= [Forms]![formReportParams]![startDate]
AND testDate <= [Forms]![frmReportParams]![EndDate]
Is there a less sloppy solution that would allow all of the queries for my seperate subreports to share the same query params?