Grouping by a variable
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com