Resusing existing reports

edited November 2003 in FastReport 2.xx VCL
Can this be done:

I have an existing report (report1.frf)

I now create a new report and want to incorporate report1.frf on a separate page, ie it will be a different page format and use another printer bin.

?

TIA

Comments

  • edited 7:55AM
    To expand on my post;

    I realise that composite reports are intended to do this. However, I am only finishing up with blank pages. Individually all the reports preview OK.

    Maybe I am missing something in the use of composites?

  • edited 7:55AM
    Composites should work.


    frReport1.LoadFromFile(file1);
    frReport2.LoadFromFile(file2);

    frCompositeReport1.Reports.Clear;
    frCompositeReport1.Reports.Add(frReport1);
    frCompositeReport1.Reports.Add(frReport2);

    frCompositeReport1.ShowReport;

Leave a Comment