Passing Global Variables from sub-reports
Hi,
I am using global variables to assign values from within sub-reports so that
I can display them in the main report definition. In the main report I am
grouping areas together and then just printing the variables at the group
footer level. However the end result is I am getting the same totals for
every group. Where is the best place to zero the global variables ready for
calculation of the next group totals? I have tried in many places and am
finding that no matter where I zero them, my result is zero for all groups.
RB 7.03
Thanks
Alex
I am using global variables to assign values from within sub-reports so that
I can display them in the main report definition. In the main report I am
grouping areas together and then just printing the variables at the group
footer level. However the end result is I am getting the same totals for
every group. Where is the best place to zero the global variables ready for
calculation of the next group totals? I have tried in many places and am
finding that no matter where I zero them, my result is zero for all groups.
RB 7.03
Thanks
Alex
This discussion has been closed.
Comments
Try using the TppVariable.ResetType property to determine when you would
like them to reset their value. Setting these variables to reset on group
end should give you the results you are after.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com