How to modify order of TDataSet for different DataBands
I use the same TDataSet for different DataBands here I need to group by different rows.
So I need to 'order by' the good row for every DataBand, is it possible ?
Thx
I use the same TDataSet for different DataBands here I need to group by different rows.
So I need to 'order by' the good row for every DataBand, is it possible ?
Thx
Comments
You need to change the order by condition and reopen the dataset every time before displaying the group with a new condition.
Thx but it not very clear. The 'order by' is done by code when creating the dataset. Do you want to say that somewhere in the report we can change the 'order by' and where ?
Add TfrxHeader for each data band and set order in the TfrxHeader.OnBeforePrint event. You may call user's function to change dataset order in the application code
Thx.
Do you want to say that the only way is to call application code in an event ?
I'll try but it is not easy to have a 'standard' procedure for complex reports.
Is there any planning to add the 'order by' feature like in Fastrport.Net : https://www.fast-report.com/fr/blog/316/show/ it would be a good progress !