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

Count In a Report

Status
Not open for further replies.

perrymans

IS-IT--Management
Nov 27, 2001
1,340
US
I have a field, ResultID.

I want to total the counts for the ResultIDs in a report group footer.

So:

Code:
ResultID
--------
Pass
Pass
Fail
NA
Fail

Totals: Pass=1 Fail=2 NA=1

Thanks. Sean.
 
Insert a subreport with the same data, grouping on the resultid and count of the numbers.

Alternative is to use DCount("*", "Table", "ResultID='Pass'")
in a bound textbox, which is going to slow the system down slightly if there is a lot of data.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top