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

Count a Yes/No data type field in a report

Status
Not open for further replies.

jaegca

Instructor
Dec 5, 2001
20
US
Let me prefice this with I'm not VBA savy AT ALL... I have a yes/no data type field I want to display in a report and count. Each record has 3 fields with yes/no data types displayed horizontally across the report. I used an unbound text box to create a calculated control using an IIf statement to write the word "yes" if
-1, and "no", if 0. That works great. However, I wanted to count the yes/s and no/s under each field in the report footer. So I did another IIF and said IIf([Arrived = -1,Count([Arrived],"") - it counts all the records and not just the -1's. Any help greatly appreciated!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top