Dynamic loading of subreports
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com