How to add a Subreport
I am brand new to Microsoft Report Services so forgive my ignorance.
I followed the
"Integrate Reporting Services with Silverlight and RIA Services"
<a href="Integrate">http://www.codeproject.com/Articles/97452/Integrate-Reporting-Services-with-Silverlight-and">Integrate Reporting Services with
Silverlight and RIA Services</a>[<a href="http://www.codeproject.com/Articles/97452/Integrate-Reporting-Services-with-Silverlight-and" target="_blank"
title="New Window">^</a>]
It's a great tutorial and was even able to create the same thing in VB. So I thought I had a good handel on it. But then I tried to add a simple SubReport and just can't to get it working.
Every time I run the report I get:
Data retrieval failed for the subreport, 'Subreport', located at: C:\Users\mutlyp\Documents\Visual Studio 2010\Projects\ReportingServicesDemo3\ReportingServicesDemo3.Web\DemoReport1.rdlc. Please check the log files for more information.
error where the subreport is suppose to be. And of course I have no idea where this log file is that they mentioned.
I am hoping that one of the experts on this site can take a look at the tutoral mentioned above and let me know how I can add a subreport???
Please help I am going crazy on this.
Thank you
May 27th, 2012 12:36am
Hi,
To add sub report go to this link
http://shahfaisalmuhammed.blogspot.in/2011/10/building-subreport-in-reporting.html
http://www.codeproject.com/Articles/195017/SSRS-Series-Part-II-Working-with-Subreports-DrillD
Hope this will help you !!!
Sanjeewan
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2012 1:26am
Thank you for the reply. But the links didn't really help me. I am using the tutorial I mentioned above. Can you please show me how to add a subreport to that kind of report?
I am stuck on the part on how to get the data to show in the subreport. I have two reports and both have thier own datasets and when I run the subreport by itself I get data. But when I put the subreport into the master report I don't get any data in the
subreport. I think it has something to do with the part where I am suppose to use
"ReportViewer1_SubreportProcessing"
sub to get data into the subreport. This is where I am completely stuck. Do not know what to put in the sub to get the data to show in the subreport.
Please help.
Thank you
May 27th, 2012 6:09pm


