Control of pages
Hi
I try to make a Report like this.
I have two Reports, one in English one in German.
Every report has for instance 3 pages.
I can't figure out, how to create an
alternating Report .
1 page English
2 page German
3 page English
4 ........
I try to make a Report like this.
I have two Reports, one in English one in German.
Every report has for instance 3 pages.
I can't figure out, how to create an
alternating Report .
1 page English
2 page German
3 page English
4 ........
Comments
j := frxReport.PreviewPages.Count div 2;
page := TfrxReportPage.Create(nil);
for i := 0 to j - 2 do
begin
page.AssignAll(frxReport.PreviewPages.Page[j + i]);
frxReport.PreviewPages.AddEmptyPage(i * 2 + 1);
frxReport.PreviewPages.ModifyPage(i * 2 + 1, page);
frxReport.PreviewPages.DeletePage(j + i + 1);
end;
page.Free;
frxReport.ShowPreparedReport;
FastReport Support is awesome
I posted this maybe is usefull for others