Count only the Yes/No field in a Report

Mechele

Registered User.
Local time
Today, 21:04
Joined
Jan 25, 2002
Messages
121
I have a Spouse Attending field that is a yes/no field. I do I get my report to only count the "Yes" in the field?
 
Create an unbound text field on the report. The control source = Sum(IIf([field1],1,0))
 
Mechele

The following should work:

=Count(IIf([Spouse Attending]=Yes,1,0))

HTH
 
Sorry, not sure if my above answer works.

Below counts check boxes.

=Sum(Abs([Spouse Attending]))

It's been a long day! 8-)
 

Users who are viewing this thread

Back
Top Bottom