I have an Access form which is based upon a query. the form has students name and a checkbox next to each name. The checkbox is based upon the query and the default is no. When I check the box next to a student's name, I want to be able to count the number of Checkboxes in each column. I've used the formula =Count (Iif([Attendance]="yes",1,0)). When I do that I get an error message. What am I doing wrong. Attendance is the field created in the table as a checkbox.