Solved

Drill down report in SSRS

Posted on 2010-08-26
8
386 Views
Last Modified: 2012-06-27
Okay I have two stored procs,
getCustomers
GetOrders(@CustomerNumber)

So I have two datsets in the report DataSet1 uses GetCustomers, DataSet2 uses GetOrders and has 1 parameter for the customer number.

I already have a grid layed out that displays all of the cusotmers exactly the way I want it, Now what I need is that when the user clicks on the customer from the screen It should open up a report with all of the customers orders.

When the user clicks it will need to pass the customer number that was clicked into the getOrders stored proc and then display all of the customers orders. I am not sure if this is setup as a seperate report or a sub report.

Please someone give me some guidence on how I would accomplish this.

thanks in advance...
0
Comment
Question by:talker2004
8 Comments
 
LVL 27

Accepted Solution

by:
planocz earned 500 total points
ID: 33536376
Have you tried making a sub-report for the click on customer?
The sub-report runs like a single report but uses the parameters from the main report.
0
 
LVL 7

Author Comment

by:talker2004
ID: 33536609
How do you tell the sub report to launch using the customerid as the parameter when the click on one of the customers in the table?
0
 
LVL 5

Expert Comment

by:almander
ID: 33538914
Right click on the Customer Id Textbox, and select properties.

You should see a navigation tab, on that tab select:
Jump to Report, the Report you want to jump to, and to the right you will be able to set the parameters for the new report.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 5

Expert Comment

by:almander
ID: 33547401
Here is a screenshot
rs-nav.png
0
 
LVL 27

Expert Comment

by:planocz
ID: 33548006
Thanks almander,
I have not had time to get back answer to this one.
0
 
LVL 5

Expert Comment

by:almander
ID: 33579113
Understood
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34533081
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now