Last post Nov 05, 2010 03:50 PM by aarica
Oct 25, 2010 04:00 PM|philter0|LINK
I'm having some troubles defining and passing report parameters to subreports in VS 2010. In VS 2008 in the design view I was able to right click and define the report parameter and have it passed through.
In VS 2010 that prompt is missing. So my question is, how can I pass a value from a parent report to a subreport in VS 2010?
Additionally, this is what is shown in the Report Properties dialog inside of VS 2010:
For the time being I have defined the parameter in the subreport manually in the XML but I'm receiving an error from the main report when I attempt to pass a parameter of any type to the subreport.
The error is :
An error occurred during local report processing.
Value cannot be null. Parameter name: value
Where I do not have a parameter named value defined anywhere.
sql reporting service 2010
Oct 28, 2010 11:57 AM|XiaoCheng Fan - MSFT|LINK
You can set parameters in report data window(Ctrl+Alt+D).
I hope this can be helpful for you.
Nov 05, 2010 03:50 PM|aarica|LINK
I am having the similar problem with Subreport in VS2010.
When I insert a subreport into the main report Under general tab in Subreport properties It has "Use this report as a subreport" But does not have a drop down to choose from. If I type in the other report name and then click on parameters then click add
the Drop down list is blank. How do I add the sub report. In vs2008 it use to have the drop down list box where I could choose the dataset for sub report that is missing here.