I have a query that contains a few different count fields. I am trying to set up a parameter where the user will enter a [start date] and[end date] to see the same counts. Here's what the query looks like now:
Company_Name Total Of Surveys A1 A2 A3 A4 A5 Satisfaction_RatingWater Company 2 0 0 1 0 1 100.00%Employee Comp 1 0 0 0 0 1 100.00%Aqua Motel 59 0 0 21 8 30 100.00%Need break 1 0 0 0 0 1 100.00%
Now when I enter the date field even as a hidden field, I getthis (the dates individual counts, when I need the total count for the timeperiod) I have tried the where clause but it doesn’t seem to do anything:
Company_Name Total Of Surveys A1 A2 A3 A4 A5 Satisfaction_RatingWater Company 1 1 100.00%Water Company 1 1 100.00%Employee Comp 1 1 100.00%Aqua Motel 1 1 100.00%Aqua Motel 1 1 100.00%Aqua Motel 1 1 100.00%
And ideas?I have alsotried starting from scratch, adding the date, with the same result.I have come across this before, but I do notremember how I handled it.I wouldrather stay away from reports, as I will be exporting the query results weekly,monthly, quarterly and yearly.
Thanks in advance!