View Full Version : Count Yes/No Field


bill crumpton
02-02-2001, 06:01 AM
I have a check box (yes/no) on a form that I have included in a query. I would like to count the check box and display how many times the check box is checked and display this info on a report. Any help is greatly appreciated. Thanks.

BAC

Fornatian
02-02-2001, 09:47 AM
FOR TICKED BOXES
Sum(IIf(Me![MyCheckBox]=True,1,0))

FOR UNTICKED BOXES
Sum(IIf(Me![MyCheckBox]=False,1,0))

Ian

bill crumpton
02-02-2001, 12:55 PM
Fornatian,
Thanks for your help as always.

BAC

Fornatian
02-03-2001, 12:37 AM
Disseminate to Accumulate...