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

Count on a report when a field =x

Status
Not open for further replies.

mlocurci

MIS
Oct 17, 2001
210
US
I have a report where I count the amount of records, no problem there. I now need to count how many time a record =x.

I have a field called [client]. It can equal BN or fb.

I need to count it when its BN and when its fb, any ideas
 
Place two unbound controls in the report footer and use the following syntax for each:

=Count(IIF([FieldName] = "BN", [FieldName], Null))

=Count(IIF([FieldName] = "fb", [FieldName], Null))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top