Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

how to print a batch of reports

edited November 2008 in General
I have created several reports and all are saved in the rtm files. Is there
any way I could print them all at once without printing one at a time?
Thanks

Comments

  • edited November 2008
    Hi Ray,

    There is no built-in batch printing however it would be fairly easy to add
    each template (.rtm) file name to a TStringList then loop through each name
    and print each report.

    for liIndex := 0 to ReportsList.Count - 1 do
    begin
    Report.Template.FileName := ReportsList[liIndex];
    Report.Template.LoadFromFile;
    Report.Print;
    end;

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2008
    Hi Ray,

    If these individual reports are always printed together then you can create
    a container report and have each of the individual reports as subreports.
    See the Independent Data Sources section in the Subreports topic in rbWiki.

    http://www.digital-metaphors.com:8080/Design/Features/Subreports

    You're only other solution is the one Nico outlined

    Scott

This discussion has been closed.