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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with the Count Function??? 1

Status
Not open for further replies.

Tmconsult

IS-IT--Management
Jul 25, 2001
88
0
0
US
I have this function in a report footer, =Count([Present]). The field Present has two values, "Y" or "N". I need to have a count of Present where the value is "Y". Any help would be appreciated.
 
Put a formula like sum(iif([Present] = "Y", 1,0))
 
Try:
Code:
=DCount("[Present]","qryYourQueryName","[Present] = 'Y'")
 
Beantree, thank you. I have been trying to figure this out for like an hour and half. I appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top