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!

Need a count at report footer, Quick one!

Status
Not open for further replies.

Tmconsult

IS-IT--Management
Jul 25, 2001
88
0
0
US
I have a report which lists weather or not someone has attended an event simply by haveing a Y or N next to that event. I need to have a total at the bottom of the report which counts only the "Y"'s. Anyone know how. I tried =IIF([Present]="Y",Count([Present])) but that didnt work.
 
Try dCount

=dCount("Field","table/Query","[field] = Y") or
=dCount("Field","table/Query","[field] = 'Y'")

Nick
 
no they dont work either for some reason
 
Try:

=DCount("[Present]", "tblTable", "[Present] = 'Y'")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top