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 5:27AM
    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 5:27AM
    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

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.