Print several small pages on one big,HOW?

Hello good people,

I have problem with Fast report.In my project i have a few datasets for report generation and now need to make
combination of each dataset item on one page.
My idea is to make for each item small report something like array of reports and to paste it on one report.
How I can combine more reports on one page?
Any help please? >

Comments

  • gpigpi
    edited 4:52PM
    Try to use composite report
    wrote:
    1.9 Building a composite report (batch printing)
    In some cases it is required to organize printing of several reports at once, or
    capsulate and present several reports in one preview window. To perform this, there are
    tools in FastReport, which allow building a new report in addition to an already existing
    one. The ?«TfrxReport.PrepareReport?» method has the optional ?«ClearLastReport?»
    Boolean parameter, which is equal to ?«True?» by default. This parameter defines whether
    it is necessary to clear pages of the previously built report. The following code shows how
    to build a batch from two reports:
    Pascal:
    frxReport1.LoadFromFile('1.fr3');
    frxReport1.PrepareReport;
    frxReport1.LoadFromFile('2.fr3');
    frxReport1.PrepareReport(False);
    frxReport1.ShowPreparedReport;
    C++:
    frxReport1->LoadFromFile("1.fr3");
    frxReport1->PrepareReport(true);
    frxReport1->LoadFromFile("2.fr3");
    frxReport1->PrepareReport(false);
    frxReport1->ShowPreparedReport();
    We load the first report and build it without displaying. Then we load the second
    one into the same ?«TfrxReport?» object and build it with the ?«ClearLastReport?» parameter,
    equal to ?«False?». This allows the second report to be added to the one previously built.
    After that, we display a finished report in the preview window.
  • Hello gpi,

    I have tried composite report and it work to make multiple pages in report.
    But I need to make more instances of report on one page and to make preview of that page.
    I thinked to make some loop for inserting Masterdata into report and set rowconut to 1.
    But how to combine Report title + (loop of sources) + Page footer?
    It must be done something like multiple small pages on one page.
    Regards
  • gpigpi
    edited 4:52PM
    Try to assign MasterData with first dataset, add several DetailData with RowCount=1 and go to next record of another datasets in report's script

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.