Keep in mind that any variable residing in a subreport will reset when the subreport ends. To keep track of a value in a main report comming from a subreport, create a variable in the subreport. Then use the TppVariable.OnCalc event to update a Variable.Value in the main report. You can download an example that demonstrates this by clicking the link below.
Comments
Keep in mind that any variable residing in a subreport will reset when the
subreport ends. To keep track of a value in a main report comming from a
subreport, create a variable in the subreport. Then use the
TppVariable.OnCalc event to update a Variable.Value in the main report. You
can download an example that demonstrates this by clicking the link below.
http://www.digital-metaphors.com/tips/RunningTotalInDetailSubreport.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com