changing the order of the DetailData bands in a report

edited 11:48AM in FastReport 4.0
We need to be able to decide the order the Detail bands are in for a MasterData band.

How can I make it so each time the report renders the MasterData band, I can decide the order of the Detail bands inside the master band? Ie: the first item may be 1,2,3 but the 2nd may be 3,2,1.

Master Rec 1
1
2
3

Master Rec 2
3
2
1

I have managed to reorder the bands but can only have it work if I do it before the report runs. The attached program has some commented out calls to orderbands( ) that only work in some places.

At this time, I can???t change the order for each MasterData record.

Thank you for your help!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.