Hello, I have 2 variables, one in sub-report, other in main report... in my variable in sub-report I calc something, and I want to put these value (sum) into the main report variable... how I do these?
If you are not using RAP, you can simply use the OnCalc event of the variable(s) inside the subreport to update the value property of the variable in the main report.
Comments
Are you using RAP, If so take a look at the following example on how to use
a global variable to show totals from a subreport in the main report.
http://www.digital-metaphors.com/tips/TotalsFromSubreportWithRAP.zip
If you are not using RAP, you can simply use the OnCalc event of the
variable(s) inside the subreport to update the value property of the
variable in the main report.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Fellipe H.