Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / February 2007

Tip: Looking for answers? Try searching our database.

Counting entries of a report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daiv - 25 Feb 2007 23:30 GMT
    I have a database that generates multiple reports about a companies
transactions based on where the funding is from, and the programs it is
dispersed into. When generating these reports I would like to count the
transactions listed under each category, and again at the end with a total #.
what function could I use for this? I tried the count function in a query
but it didn't give me options for "group by" or "count" and complained when i
typed them in.

Thanks!
Tom Wickerath - 25 Feb 2007 23:45 GMT
Hi Daiv,

You can do the counting directly within the report. An example is shown for
you in the sample Northwind database (Northwind.mdb), which ships with every
copy of Access. Open the Products by Category report. You should see the
following label caption and calculated control in the CategoryName Footer
section:

    Number of Products:  =Count([ProductName])

To get a grand total, you can copy this label and text box and paste it into
the report's Report Footer section (not the Page Footer). For example:

     Total Number of Products:  =Count([ProductName])

Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

>      I have a database that generates multiple reports about a companies
> transactions based on where the funding is from, and the programs it is
[quoted text clipped - 5 lines]
>
> Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.