using a query to run a report that only selects one answer

G

Guest

I am attempting to write a query on input values that can be Yes, No or N/A
but on the query I only want a count by category of the No responses. I am
having no luck so far using either count or dcount.
 
M

Marshall Barton

TLocker said:
I am attempting to write a query on input values that can be Yes, No or N/A
but on the query I only want a count by category of the No responses. I am
having no luck so far using either count or dcount.

Sum(IIf(somefield="No", 1, 0))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top