FastReport prints multi-page reports in the order 1,1,2,2. How to change it to 1,2,1,2?

Question: FastReport prints multi-page reports in the order 1,1,2,2. How to change it to 1,2,1,2?

Answer:

If report has several pages, FastReport prints all records in the page1 and then all records in the page2. If you want to change it, set the

1
TfrReport.DataSet

 

 property to main dataset and set the 

1
TfrReport.ReportType = rtMultiple.