Order of pages in print

edited July 15 in FastReport VCL 6
I have a report with two pages. A cover page and a detail. I need to print in sequence 1 2 1 2 1 2...
 but print 1 1 1 2 2 2. How to solve?


  • gpigpi Volnovakha, Ukraine

    You can resort preview pages after report's preparing:

    var i, j: integer;

       page : TfrxReportPage;



        j := frxReport1.PreviewPages.Count div 2;

        page := TfrxReportPage.Create(nil);

        for i := 0 to j - 2 do


            page.AssignAll(frxReport1.PreviewPages.Page[j + i]);

            frxReport1.PreviewPages.AddEmptyPage(i * 2 + 1);

            frxReport1.PreviewPages.ModifyPage(i * 2 + 1, page);

            frxReport1.PreviewPages.DeletePage(j + i + 1);





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.