Solved

SSRS Sub reports and passing parameter values

Posted on 2012-12-31
3
678 Views
Last Modified: 2013-01-02
I have created a main SSRS report that accepts one paramter (item).  


I created a sub report that accepts one paramter (also item). When i link the reports on item I can only use first function, to link the reports. That only brings back the first item in the second report.   I need to see all the item associated with the first report in the second report not just the first item.  Does anyone know how i can accomplish this?
0
Comment
Question by:spoye
3 Comments
 
LVL 21

Expert Comment

by:Alpesh Patel
ID: 38734052
Insert Sub Report. Go to Subreport property and follow the image as you see to pass parameter.

Parameter
0
 
LVL 37

Expert Comment

by:ValentinoV
ID: 38734338
How did you implement the parameter usage in the subreport?  Does the subreport work when you run it separately (by typing a valid value for the item parameter manually)?
0
 
LVL 27

Accepted Solution

by:
planocz earned 500 total points
ID: 38734577
In SSRS the Sub-report is just a standalone report just like your main report.
The sub-report has to have it's own Query or stored procedure and be able to run and produce the results you what. Once that is done then bring it into the main report and pass what where parameters you need from main to the sub-report.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question