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

Calculations on using subreports

Status
Not open for further replies.

ScottWood

Technical User
May 31, 2001
81
GB
Ive got two sub reports, one contains sales and one contains refunds, i want to pull the total no of sales and total no of refunds for each product into the main report. How can i do this!?!?!
 
In each subreport setup a shared varible.
i.e. Shared numberVar SalesNum; or
Shared numberVar RefundNum:

In the main report create a formula using the same shared varible declarations. Just remember to put the main formula in at least one section below the section that contains the subreport.

BFine
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top