counting

N

n6trf

How do I count in the report header the number of times a field is 'true'
as opposed to 'false' ... ? TIA
 
A

Allen Browne

n6trf said:
How do I count in the report header the number of times a field is 'true'
as opposed to 'false' ... ? TIA

Use a text box with Control Source of:
= - Sum([YourYesNoFieldNameHere])

In Access True is -1 and False is 0, so summing gives the negative count of
checked boxes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top