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 / Reports / Printing / February 2005

Tip: Looking for answers? Try searching our database.

Calculating within Subreports

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
packetscanner - 14 Feb 2005 17:13 GMT
I have a report with no control source that just displays 6 subreports.  I
would like to get a sum of a field within each of those subreports and
display it  in the report footer of the main report.  Can anyone help me?
Marshall Barton - 15 Feb 2005 04:58 GMT
>I have a report with no control source that just displays 6 subreports.  I
>would like to get a sum of a field within each of those subreports and
>display it  in the report footer of the main report.  Can anyone help me?

Each subreport has to calculate it's own totals in its
report footer.

Then the main report can refer to those totals in this kind
of expression:

    =subreporta.Report.totala + subreportb.Report.totalb + ...

Signature

Marsh
MVP [MS Access]

 
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.