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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Total this page, not total this report.

Status
Not open for further replies.

DPACAccessWiz

Technical User
Mar 30, 2002
15
0
0
US
I have a request to put a total of the page, not the report, on a report. I have a field called [Total] that I calculate the total at the end of groups and the report with the control source: =Sum([Total]). This works. But when I copy the text box to the page footer I get #Error as the result.

Can you total a page in Access Reports?
 
Sort of?

Just use a hidden control in the detail which does the sum on the detail. Place the 'repeaer' control in the (page) footer. Add a procedure to the page header (OnPrint?) and zero out the hidden control which soes the sum.

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top