Append one report to the end of another

edited 2:41AM in FastReport 4.0

Hi
I have 2 sperate reports, each is stored in its own TFrxReport component, I often use each report individually but would also like to be able to append one report to the end of the other report so that they are both shown on the screen. I know this can be done with fr3 files that are saved to the HDD but how can I append a report held in one TFrxReport to the end of another reportheld ina different TFrxReport

Thanks

colin

Comments

  • gpigpi
    edited 2:41AM
    frxReport1.PrepareReport(True);
    frxReport2.PrepareReport(True);
    frxReport1.PreviewPages.AddFrom(frxReport2);
    frxReport1.ShowPreparedReport;
  • gordkgordk St.Catherines On. Canada.
    edited 2:41AM
    read the programmers manual chapter on building composite reports.
  • edited 2:41AM
    Thanks very much for the info

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.