Reorder pages after report generated
I saw this topic:
https://www.fast-report.com/en/forum/index....l=reorder+pages
But it appears to be referring to before the report is generated. I have a report that is basically invoices, some of which could be multi-page. After the report is generated, I would like to reorder the report to put all 1 page, then all 2 page, etc. I do not know how many pages an invoice will be until after it has been rendered.
So:
1) Is there a way to programmatically order pages after generated?
2) What is the best way to know that pages all belong to a specific ID (for instance, the best way to identify that pages 48, 49, and 50 are all customer X) - is there some page property I can set when it is being generated to help me out, or just use a hidden text field, etc?
Thank you in advance!
Ryan
https://www.fast-report.com/en/forum/index....l=reorder+pages
But it appears to be referring to before the report is generated. I have a report that is basically invoices, some of which could be multi-page. After the report is generated, I would like to reorder the report to put all 1 page, then all 2 page, etc. I do not know how many pages an invoice will be until after it has been rendered.
So:
1) Is there a way to programmatically order pages after generated?
2) What is the best way to know that pages all belong to a specific ID (for instance, the best way to identify that pages 48, 49, and 50 are all customer X) - is there some page property I can set when it is being generated to help me out, or just use a hidden text field, etc?
Thank you in advance!
Ryan
Comments
Ryan