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

Grouping by a variable

edited March 2003 in General
Hello -

I'm having a problem grouping by a variable. I define the variable as equal
to one of the fields on the report, and I select report/groups and define a
group based on the variable. A group header appears before the very first
record on the report, but there are no group breaks at all after that.
Anyone have experience with this technique? I'm using version 7.02
enterprise.

Thanks
David Kilmer

Comments

  • edited March 2003
    David,

    Make sure you are defining the value of the variable in the OnGetText event
    or you can use a calculated field in the dataset to work around this
    problem. This is the only time you want to use the variable's OnGetText
    instead of the OnCalc because the group uses the text property of the
    variable before any OnCalc event fires.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.