group count

  • Thread starter Thread starter Jeff Clark
  • Start date Start date
Jeff Clark said:
how a bout an expresson, and a query

DCount("*","SomeTableOrQuery","GroupCriteria")

SELECT GroupingFieldName, Count(*) AS Cnt
FROM SomeTableOrQuery
GROUP BY GroupingFieldName
 
Assuming you have a group header and want to count the number of groups, add
a text box to the group header
Name: txtGroupCount
Control Source: =1
Running Sum: Over All

Add a text box to your report footer
Control Source: =txtGroupCount
 
Back
Top