I tried doing a search for this, but I think the terms I need to use are too generic to come up with anything useful.
Basically, I have a yes/no field in a query that is the record source for a sub form. I am trying to get one text box to show the number of Yes', and another one to show the number of No's.
On the Text Box's control source, I assumed that since you can type "=Count([FieldName])" to get a regular count, you could type "=Count([FieldName]=0)" or "=Count([FieldName]=True)" or something like that to pick out the values you want. Unfortunately, this is not the case; all three expressions just return the total count. Is there any way to do this easily, or am I going to need to get down into the VBA?