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

Using subreport across multiple reports.

edited August 2003 in Subreports
I want to use the same subreport across multiple reports. Is there a demo
or documentation that demonstrates how to do this?

(Using Report Builder 4 Professional)

--
Ray A.

Comments

  • edited August 2003
    You can use report templates to accomplish this. A report template can be
    loaded into a subreport. There should be an example called
    DynamicSubreportLoading in the end user folder of our installed demos that
    uses a subreport descendent that loads a specified template from file or
    database so that you can use a common subreport component in multiple
    reports. Then you only have to change one template in order to affect all
    the reports that use this subreport component for easier maintenance down
    the road. If you don't have this demo in your version of RB 4, off the top
    of my head I think we added it in RB 5.0, here is a link to a downlable
    version of it. You'll have to ignore some new property errors when the
    report loads because it will be in RB version 7 for Delphi 5 format.
    http://www.digital-metaphors.com/tips/DynamicSubreportLoading.zip


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited August 2003
    Thanks!
    --
    Ray A.
    (Ray's Jedi Projects Returns)
    (http://sourceforge.net/projects/edisdk)

This discussion has been closed.