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

Retrieve Value from SubReport to use in Main Report

Status
Not open for further replies.

YL99

Programmer
Dec 23, 2002
24
GB
Hello,
Can anyone tell me how to retireve the total amount from the subreport to be used in the Main report.

I have my main report grouped by Client name and the product Cost.
The subreport shows the amount paid for that product.

I want to retrieve the total from the Subreport for that product and deduct the amount from the cost of the product in th main report .

Please help
 
You declare a SHARED variable in the subreport, store a value in it, and then declare the same variable in the main report. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top