merge pages PDF
hi
can someone can help me, i have report that consist of two pages, A and B
There are many pages in report..how to combine it in one PDF file ?
(A1,B1,A2,B2,A3B3...)
i tried saving them in folder and combine it, but failed..
frxReport2.PrepareReport;
frxReport2.SaveToFile('repA1.fr3');
frxReport3.PrepareReport;
frxReport3.SaveToFile('repB1.fr3');
frxReport2.PrepareReport;
frxReport2.SaveToFile('repA2.fr3');
frxReport3.PrepareReport;
frxReport3.SaveToFile('repB2.fr3');
and so on...
and after files are saved:
frxReport1.LoadFromFile('repA1.fr3');
frxReport1.PrepareReport;
for i := 2 to count - 1 do
begin
frxReport1.LoadFromFile('repBi.fr3');
frxReport1.PrepareReport(false);
frxReport1.LoadFromFile('repAi.fr3');
frxReport1.PrepareReport(false);
end;
can someone can help me, i have report that consist of two pages, A and B
There are many pages in report..how to combine it in one PDF file ?
(A1,B1,A2,B2,A3B3...)
i tried saving them in folder and combine it, but failed..
frxReport2.PrepareReport;
frxReport2.SaveToFile('repA1.fr3');
frxReport3.PrepareReport;
frxReport3.SaveToFile('repB1.fr3');
frxReport2.PrepareReport;
frxReport2.SaveToFile('repA2.fr3');
frxReport3.PrepareReport;
frxReport3.SaveToFile('repB2.fr3');
and so on...
and after files are saved:
frxReport1.LoadFromFile('repA1.fr3');
frxReport1.PrepareReport;
for i := 2 to count - 1 do
begin
frxReport1.LoadFromFile('repBi.fr3');
frxReport1.PrepareReport(false);
frxReport1.LoadFromFile('repAi.fr3');
frxReport1.PrepareReport(false);
end;
Comments
for exporting of prepared report to PDF