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

Dynamic loading of subreports

edited December 2003 in Component Writing
Hi,

I've seen the demo EndUser\5. Dynamic Subreport Loading and I'm quite
interested by this feature.

However, what if the loaded subreport got its own dataview ? Will that
one be added to the main report? If not, how can I do that ?

My idea is to have several reports in the database showing diffrent
type of information and one report with a TOC to print all my reports
in one go (each reports being included as a subreport on the main
reports)

Thanks,

Pascal

--
Ceci est une signature automatique de MesNews.
Site : http://mesnews.no-ip.com

Comments

  • edited December 2003
    Hi Pascal,

    When loading subreports dynamically, you need to load them before
    Report.Print is called to get the dataviews to merge with the main report's
    dataviews. When loading the reports during report generation such as in the
    example you are looking at, the dataviews will not be added in. Sorry, this
    is a limitation of ReportBuilder.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.