group count

R

Rick Brandt

Jeff Clark said:
how a bout an expresson, and a query

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

SELECT GroupingFieldName, Count(*) AS Cnt
FROM SomeTableOrQuery
GROUP BY GroupingFieldName
 
D

Duane Hookom

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top