TotalPages# is wrong
i do:
1 - 1
1 - 1
instead of
1 - 2
2 - 2
i also tryied:
1 - 1
2 - 2
is this a bug?
frxReport2.PrepareReport;
frxReport1.PrepareReport;
frxReport1.EngineOptions.DoublePass := True;
frxReport1.PreviewPages.AddFrom(frxReport2);
frxReport1.ShowPreparedReport;
unfortunatelly TotalPages# is wrong:1 - 1
1 - 1
instead of
1 - 2
2 - 2
i also tryied:
    frxReport1.PrepareReport;
    frxReport1.SaveToFile('c:\report1.fr3');
    frxReport2.PrepareReport;
    frxReport2.SaveToFile('c:\report2.fr3');
    frxReport3.LoadFromFile('c:\report1.fr3');
    frxReport3.PrepareReport(True);
    frxReport3.LoadFromFile('c:\report2.fr3');
    frxReport3.PrepareReport(False);
    frxReport3.ShowPreparedReport;
it looks better but it's still wrong:1 - 1
2 - 2
is this a bug?
Comments
read the programmers manual chapter on building a composite report.
ie
frxReport1.LoadFromFile('1.fr3');
frxReport1.PrepareReport;
frxReport1.LoadFromFile('2.fr3');
frxReport1.PrepareReport(False);// set flag so first rep is not cleared
frxReport1.ShowPreparedReport;