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

Swapping Groups

edited April 2004 in General
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

Comments

  • edited April 2004
    Hi Tony,

    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);

    --
    Best Regards,

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