conditional count function

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

Guest

can I do =Count([Q6=1]) ?
How do I write a statement to count all answers to Q6 where option=1 in a
report?
Please help!
TIA.
 
can I do =Count([Q6=1]) ?
How do I write a statement to count all answers to Q6 where option=1 in a
report?
Please help!
TIA.

You wish to determine the number or times field [Q6] equals 1?
In an unbound control:

=Abs(Sum([Q6] = 1))

([Q6] = 1) is evaluated as either True or False (-1 or 0)
Sum() adds the -1's and 0's.
Abs() returns the positive value.
 

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

Back
Top