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

Common part of several reports

Hi there

I have several reports that have the Common subreport.
like
Report A: SubA1+SubA2+SubCommon+SubA3+SubA4
Report B: SubB1+SubB2+SubCommon+SubB3+SubB4
Report C: SubC1+SubC2+SubCommon+SubC3+SubC4
and so on.

SubCommon will be revised once in a while, so we have to
update every report.

Is there a way to load this common subreport at running time?

Because we bind these report for a book, I can not
break the report into several print job.

Delphi Rio + RB20

Thanks in advance.

regards,

AZA

Comments

  • Hi Yong,

    It is possible to save and load report templates to individual subreports within a report. See the following article/example on how to use a standard header/footer by loading report templates into subreports. This is similar to what you would like to accomplish using the TppTemplate.LoadFromFile routine.

    Subreport.Report.Template.LoadFromFile():


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • HI, Nico
    Thanks for your advice.
    I will have a look at report template.

    Thank you very much!

    regards,

    AZA
Sign In or Register to comment.