G
Guest
I have a query that returns records indicating who answered correctly in a
contest. One field is [District]. I also have a table called [Districts]
that contains a list of the 166 different possible districts.
I am attempting to create a query that lists the 166 different districts
along with the number of records in the first query that use each different
district code. I'm having no luck with Dcount (but I've never used it before
so I could be doing it wrong) and count works only with a criteria thus
forcing me to create 166 seperate queries, which seems both inefficient and
inflexible. (If the [Districts] table gets a new record, I would need to
create a new query for it, etc.)
Any help is greatly appreciated.
contest. One field is [District]. I also have a table called [Districts]
that contains a list of the 166 different possible districts.
I am attempting to create a query that lists the 166 different districts
along with the number of records in the first query that use each different
district code. I'm having no luck with Dcount (but I've never used it before
so I could be doing it wrong) and count works only with a criteria thus
forcing me to create 166 seperate queries, which seems both inefficient and
inflexible. (If the [Districts] table gets a new record, I would need to
create a new query for it, etc.)
Any help is greatly appreciated.