How do i change the grouporder of a report at runtime?
Hi,
How do i change the grouporder of a report at runtime?
TppCustomReport.Groups[Index: Integer] property is Run-time and read only.
Thx,
Filip Moons
Example:
Grouporder at designtime:
Group[0]:MyReport.MyGrp1
Group[1]:MyReport.MyGrp2
Group[2]:MyReport.MyGrp3
Group[3]:MyReport.MyGrp4
Grouporder at runtime (MyGrp3 <> MyGrp2):
Group[0]:MyReport.MyGrp1
Group[1]:MyReport.MyGrp3
Group[2]:MyReport.MyGrp2
Group[3]:MyReport.MyGrp4
How do i change the grouporder of a report at runtime?
TppCustomReport.Groups[Index: Integer] property is Run-time and read only.
Thx,
Filip Moons
Example:
Grouporder at designtime:
Group[0]:MyReport.MyGrp1
Group[1]:MyReport.MyGrp2
Group[2]:MyReport.MyGrp3
Group[3]:MyReport.MyGrp4
Grouporder at runtime (MyGrp3 <> MyGrp2):
Group[0]:MyReport.MyGrp1
Group[1]:MyReport.MyGrp3
Group[2]:MyReport.MyGrp2
Group[3]:MyReport.MyGrp4
This discussion has been closed.
Comments
You can use the TppReport.MoveGroup method to change the position of a group
at runtime. There are also other group methods available such as FindGroup
and AddGroup that may be helpful. See the RB help for TppCustomReport for
more information.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com