Prepared Reports

I'm trying to show in a single preview all the reports that i need.
For this i use the prepareReport and showpreparereport functions, but the preview only shows the last report, and the total of pages is 1 of 1.

In the first preparedReport i use true as argument, and in the others False, according to the ProgrammerManual avaliable on the site.

How to visualize all the reports in a single preview using prepareReport ?

Thanks.

Comments

  • gpigpi
    edited 9:37PM
    Use for example
         frxReport1.Preview := nil;
         frxReport1.LoadFromFile('1.fr3');
         frxReport1.PrepareReport();
         frxReport1.LoadFromFile('2.fr3');
         frxReport1.PrepareReport(False);
         frxReport1.LoadFromFile('3.fr3');
         frxReport1.PrepareReport(False);
         frxReport1.Preview := frxPreview1;
         frxReport1.ShowPreparedReport;
    

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.