adding parameters to count query

Weresmytriple

Registered User.
Local time
Today, 13:47
Joined
Sep 5, 2013
Messages
58
hi,

i have set up a query to count the different ethnicitys of people who have submitted a complaint. it works fine when I leave it just doing that.

However when i add a field to allow me to add the parameters for a search between to dates. the query will only count the ethnicity of people who complained on the same day and give the others as a single number.

i need to allow the user to search between dates as to generate the data for a report.

thanks for any help

michael
 

Attachments

  • Query.jpg
    Query.jpg
    78.8 KB · Views: 81
  • Result 1.png
    Result 1.png
    40.2 KB · Views: 77
  • Result after para.png
    Result after para.png
    48 KB · Views: 73
Change the GROUP BY of the Date field "Date Of Complaint" to WHERE from the Drop Down List.
 
thanks i cant believe it was that simple
 

Users who are viewing this thread

Back
Top Bottom