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

Need help totalling subreports in Main Report

Status
Not open for further replies.

lcan

Technical User
Mar 1, 2003
5
US
I have four subreports which have individual sum[countofemp] in each subreport. How can I get a grand total on the main report of two subreports [countofemp]??
 
I would set a textbox on the main report with a source of something like

=[subreport1].[Report]!txtsum[countofemp] + [subreport2].[Report]!txtsum[countofemp]...

where txtSum[countofTemp] is the box with the individual values.

This can be done from the report designer or it can be done on the fly from VBA with "textbox1.source = [sub..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top