How to run full report on each record

edited 5:18AM in FastReport .NET
Is there a way to prepare a report where the full report runs for each record?...all report pages process for record 1, then all report pages for record 2, and so on, resulting in one prepared report.

While I do a form of this with subreports, I want things such as different page settings, headers, footers, and overlays for each report page.

Any ideas (and/or code) on how to achieve this? Is this capability on the FR roadmap?

Comments

  • edited 5:18AM
    // FROM DOCUMENTATION
    // This example shows how to merge two reports and preview the result:

    Report report = new Report();
    report.Load("report1.frx");
    report.Prepare();
    report.Load("report2.frx");
    report.Prepare(true);
    report.ShowPrepared();
  • edited 5:18AM
    If that simply appends one report after another, that's not quite what I'm looking for.

    I'm looking for something like this. If I design a report with 3 report pages (page A, page B, page C), records and pages would flow like this:

    record 1
    report page A
    report page B
    report page C
    record 2
    report page A
    report page B
    report page C
    record 3
    report page A
    report page B
    report page C
    ..record 4...and so on

    For record 1, all three report pages contain data from record 1. Then, for record 2, all 3 pages contain data from record 2.
  • edited 5:18AM
    a rule of thumb (see attached picture) :
    1. datasource contains one or more tables
    2. one page links to one or more tables
    3. printing in a sequence order, page1 -> page2 -> page3

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.