Swapping Groups
Hi
We are evaluating Report Builder and we have a number of standard reports
that have several nested groups. I can swtch these groups via CalcOrder at
Design Time, but we wish to switch them at run time. We also wish to change
the data fields, so that, for exmaple, a groupd that was once grouped by
Employee, could be grouped by OrderNo and the single field with EmpNo could
be changed to order no using :
ppGroup01DBText.DataField := 'OrderNo';
I tried this, but it did not seem to work. and I have tried several ways of
swapping the ordering of the groups and none of these work.
Please can you help
Thanks
Tony Danby, Developer, Point4
We are evaluating Report Builder and we have a number of standard reports
that have several nested groups. I can swtch these groups via CalcOrder at
Design Time, but we wish to switch them at run time. We also wish to change
the data fields, so that, for exmaple, a groupd that was once grouped by
Employee, could be grouped by OrderNo and the single field with EmpNo could
be changed to order no using :
ppGroup01DBText.DataField := 'OrderNo';
I tried this, but it did not seem to work. and I have tried several ways of
swapping the ordering of the groups and none of these work.
Please can you help
Thanks
Tony Danby, Developer, Point4
This discussion has been closed.
Comments
Thanks for evaluating ReportBuilder. Try using the TppReport.MoveGroup
method to re-position the groups in the report. Below is the signiture for
this method.
procedure MoveGroup(aCurrentPos: Integer; aNewPos: Integer);
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com