Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COUNTING 1

Status
Not open for further replies.

chubby

Programmer
Apr 28, 2001
278
US
How can I count YES or NO check boxes in a form?
=count([fieldname]) does not work...
 
chubby,
I think your post has to go down as one of the vaguest questions this year.

What do you want to do exactly? Count the number of records that have 'Yes' values for a field in a table? If so, then =DCount("[Field1]","Table1","[Field1]") should work.

Did you want to count the number of Yes/No check box controls on a form? If so, then you'll need to write some vba code.
Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top