clearing group totals
hi all,
I have my report working except for a small issue. the report extracts the
data that i want and it also groups and lists it as desired. i initialise
some variables to doubles and use them to calculate the group totals at
level 1, i have two levels. this works fine for the first group but when i
get to the second group the total for the first and second groups are added
together and so on. i need to be able to clear down the valiable on the
group start, i put in a variable to do this but it didn't work properly, can
anyone point me in the right direction please.
Cheers
Mark
I have my report working except for a small issue. the report extracts the
data that i want and it also groups and lists it as desired. i initialise
some variables to doubles and use them to calculate the group totals at
level 1, i have two levels. this works fine for the first group but when i
get to the second group the total for the first and second groups are added
together and so on. i need to be able to clear down the valiable on the
group start, i put in a variable to do this but it didn't work properly, can
anyone point me in the right direction please.
Cheers
Mark
This discussion has been closed.
Comments
You can set the TppVariable.ResetType property to veGroupStart or veGroupEnd
depending on when you would like the variable's value to reset.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com