Custom Groups Based on Variables
If a variable is placed in the detail band with a RAP calculation of
say DBPipeLine['Field1'] + DBPipeLine['Field2'] and that
field is used as a custom group, the report doesn't break into the
expected groups when previewed.
I am currently running 11.03 Server Edition with D2009. If I update
will that fix the issue? Am I missing something?
Thanks,
Kevin.
say DBPipeLine['Field1'] + DBPipeLine['Field2'] and that
field is used as a custom group, the report doesn't break into the
expected groups when previewed.
I am currently running 11.03 Server Edition with D2009. If I update
will that fix the issue? Am I missing something?
Thanks,
Kevin.
This discussion has been closed.
Comments
This is a timing issue rather than a bug. The issue with grouping on a
TppVariable is that the OnCalc event fires too late for the group to pick up
a change. You need to make sure the timing of when the group break value is
checked coincides with your calculation. To do this you need to use either
the Group.OnGetBreakValue event or the Variable.OnGetText event to update
the value.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thank you very much for the below answer. I shall do just that.
Kevin.