Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Custom Groups Based on Variables

edited July 2009 in General
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.

Comments

  • edited July 2009
    Hi Kevin,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2009
    Hi Nico,

    Thank you very much for the below answer. I shall do just that.

    Kevin.

This discussion has been closed.