Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access report grand total

Status
Not open for further replies.

rbiii

Technical User
Mar 10, 2004
5
US
=[UnitPrice]/1000*[UnitsInStock]
the above is the formula for a value of an individual item on a report.
How do I get a grand total of all of these values of individual items at the end of the report?
 
Have an invisible textbox in your details section set to
=[UnitPrice]/1000*[UnitsInStock]
set its "running sum" property to "Group"
Set your GrandTotal-field to =[running sum field]

The GrandTotal will display the current GrandTotal up to the current page. (So overall total on last page)

Cheers,
Andy



Andreas Galambos
EDP / Technical Support Specialist
(andreas.galambos@bowneglobal.de)
HP:
 

The other option is include the formula as a culculated field in the query the report is based on. For the detail, data source is the calculated field name. For the footer, it is sum([calcfield])

I personally prefer that way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top