Friday, February 24, 2012

Dynamic Subreports... is it possible?

Is it possible to set up a subreport so that I can determine which report it displays based on parameters? From what I've seen, the report that a subreport displays must be hardcoded... Anyone got any workarounds?

No .... not really. Unfortunately Microsoft did not implement the RDL parameter replacement mechanism very well.

In my opinion, Reporting Services 2005 would have been much stronger if they would have simply taken the input parameter information and replaced all occurrences of the "parameter" within the RDL prior to rendering. How hard can that be?

Here's a link for a terrible work around - a nasty one that uses layering.

http://www.developmentnow.com/g/115_2006_1_0_0_680033/Dynamic-Subreports.htm

No comments:

Post a Comment