Count records if

V

visidro

Would like a little help with counting records that match a string if a
check box field is true or checked.
I am building a form to display record counts but only for records that are
active (checked) In other words if field a=music and field b=true then count
it

can someone help me with this , much appreciated.
 
F

fredg

Using an unbound text control:
=Sum(IIf([FieldA] = "Music" and [FieldB] = True,1,0))

Fred
 
V

visidro

that works great, thank you very much!

fredg said:
Using an unbound text control:
=Sum(IIf([FieldA] = "Music" and [FieldB] = True,1,0))

Fred

visidro said:
Would like a little help with counting records that match a string if a
check box field is true or checked.
I am building a form to display record counts but only for records that are
active (checked) In other words if field a=music and field b=true then count
it

can someone help me with this , much appreciated.
 

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