Count not null check boxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report that I must count the number of check boxes in the on
position or the is not null. I used the "= Count ([Injury])" below the
footer but it counts all the check boxes even if they have not been checked.
 
oops! make that

=Sum(Abs([Injury]))


tina said:
try

=Sum(Abs([Injury])

hth


Nick said:
I have a report that I must count the number of check boxes in the on
position or the is not null. I used the "= Count ([Injury])" below the
footer but it counts all the check boxes even if they have not been checked.
 
An unbound checkbox can be Null, but a Boolean (Yes/No) field in a JET
database (MDB) or a check box bound to such a field is never Null, it is
either True or False.

See Tina's post elsewhere in this thread for a solution.
 
Thanks

tina said:
oops! make that

=Sum(Abs([Injury]))


tina said:
try

=Sum(Abs([Injury])

hth


Nick said:
I have a report that I must count the number of check boxes in the on
position or the is not null. I used the "= Count ([Injury])" below the
footer but it counts all the check boxes even if they have not been checked.
 
you're welcome :)


Nick said:
Thanks

tina said:
oops! make that

=Sum(Abs([Injury]))


tina said:
try

=Sum(Abs([Injury])

hth


I have a report that I must count the number of check boxes in the on
position or the is not null. I used the "= Count ([Injury])" below the
footer but it counts all the check boxes even if they have not been
checked.
 
Back
Top