Full Version: Returning the number of records in a particular group
UtterAccess Discussion Forums > Microsoft® Access > Access Reports
nreid82
Hi everyone

I am creating a report which groups people based on the building they work in. What element would i need to put into the report and what expression would I need to apply to that element if I wanted to return the number of records in each building.

Any help with this would be greatly appreciated

I look forward to hearing from people

nreid82
strive4peace
you can count any of your fields -- I usually count the primary key field since it is always filled out. Create a calculated control in the building group header or footer

Name --> CountRecordsBuilding
ControlSource --> =Count([controlname_in_detail])
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.