FR3 Composite Reports

edited October 2005 in FastReport 3.0
Is there any example how to create "working" composite Reports like in Version 2.x.

And i am a little angry, because the conversion of FRF Files to FR3 Files NEVER works and needs a lot of changes.

Michael

Comments

  • edited October 2005
    This is code composite two reports:
    frxReport1.PrepareReport();
    frxReport2.PrepareReport();
    frxReport1.PreviewPages.AddFrom(frxReport2);
    frxReport1.ShowPreparedReport;
    

    This code load and composite 3 reports:
    frxReport1.LoadFromFile('report1.fr3');
    frxReport1.PrepareReport(false);
    frxReport2.LoadFromFile('report2.fr3');
    frxReport2.PrepareReport(false);
    frxReport2.LoadFromFile('report3.fr3');
    frxReport2.PrepareReport(false);
    frxReport1.PreviewPages.AddFrom(frxReport2);
    frxReport1.ShowPreparedReport;
    
  • edited 2:18PM
    Thanks Den, it's to easy.

    Mike

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.