How to display 2 interdependent reports in one SSRS report? - reporting-services

I want to design a report where Report1 has a table1 and column1 of table1, should display the complete detail of that column on OnClick event. can I show 2 linked reports in one report based on the onclick event? if so how?
I tried using Subreport concept but that didn't work. Tried Bookmark but got rejected by the client also tried using go to report option but that open up in either different or same window but replace the existing report and to see your previous report I have to click on go back button. last option which I can think of is combine them in asp.net page.

As you noticed, the "go to" options on a textbox forces you to navigate away from the report and into a new report.
As Strawberryshrub mentioned, would a toggle option work for you? Here is a simple example of that:
Report Design:
Report Collapsed:
Report Expanded:

Related

Keep parameter value when coming back from subreport

I have several multiple choice parametres that do not have default value. There is also link to other report. And parent report parametres are empty when coming back from drill through report. Is it possible to keep selected parameter values?
The parameter keeps selected values if it has default value initially. But I would like keep parametres empty on load
If you have an action to open a drill thru report, to get back to the parent report, you must use the 'Go back to parent report' button on the reports toolbar, NOT the browser back button.
This also means the parent report does not get re-rendered so it's instant.
This has been available since SSRS2008 as far as I know. Here's what it looked like back in 2012..
Note: this only works if you have used the "Go to Report" action
It won;t work if you used the go to URL option.
Alternative approach if using Go To URL
Basically you make sure you send all the parameters to the sub report even if they are not used. You could hide the unused ones.
Then add a button to your sub report that simply opens the parent report again and passes all the parameters back.
This is not ideal as the report will have to be rendered again, which is a pain if it's a slow report.
Another option is to open the sub report in a new tab (lots of examples on SO on doing this) so you can just close the tab.

Is there a way for SSRS to remember my parameters when switching between Design and Preview mode?

When designing a report in SSRS, I put in my parameters and run the report.
If I see that there is a change in the Design that I need to make, I then have to flick back to the Design tab and make the change.
Once I go back to the Preview tab, I then have to again put in my parameters and wait for the report to run.
Is there a way to have SSRS remember the parameters that I had just entered and possibly keep the data in a cache so that when I flick back to the Preview tab, it just shows me the report rendered with my changes (but not new data etc)?
I'm pretty sure I can do this in Crystal Reports without having to re-enter parameters etc.
There is no way for SSRS to remember the parameters when flicking between the design/preview tabs - however you could select default values for the parameters so that when you flick to the preview page, the values will automatically appear in the preview tab.
To do this, right click the parameter > Go to "Default Values" tab > Select "Specify Values" and add the default values you would like to use

How can I get the SSRS Report Wizard to allow me to move on?

I added a new report to my SSRS project by right-clicking the Reports folder and selecting "Add New Report"
After selecting a sahred data source, the Report Wizard dialog displayed. I clicked through to the query page and added my custom SQL. The next page allowed me to determine where the fields returned from the query would be located in the report.
However, whether I put all of the fields in the "Displayed Fields" box or all but one, putting that one in the "Group" box, I cannot proceed - the "Finish" button is not active.
What must I do to be able to move on and proceed with the wizardification of the report?
I can reproduce this by attempting to create a matrix report. Matrix reports require at least 1 column,1 row and 1 detail line. Tabular reports don't have this requirement.

MS Access: Reports referencing other reports

I have several MS Access 2010 Reports that contain controls that reference other controls on other Reports. So, for example, if report1 has a text box called report1_textBox, and this text box gets its value from a text box on report0 called report0_textBox, then I set the Control Source property of report1_textBox to:
= [Reports]![report0]![report0_textBox]
I created a Form that the user can use to select Reports to open, and when the user selects a Report that depends on other Reports, my code opens those Reports before opening the selected Report. This works fine in some instances, but in other instances I get some strange behavior.
Going back to the example above, I encounter situations where even if I open report0, then open report1, the text box report1_textBox displays #Error as if report0 is closed or does not exist. But if I then just click on report0 and change its view then change it back, then go back to report1 and scroll a little, the text box report1_textBox "magically" changes from #Error to the proper value. I tried hitting the "Refresh All" button after opening the reports, and it does not update the text box.
Does anyone know of a way to fix this or at least work around it?
Thank you!
(Adding: Ideally, I do not want to open multiple reports like I'm doing now. If the user wants to view a report, I would like to only open that report, but from what I understand, if the selected report needs data from another report, that other report needs to be open. I can ultimately solve this by writing VBA code to execute queries, but I would like to avoid this, especially since I already have the data I need - it's just on another report. Does anyone know if it is possible to realize this ideal situation? Thanks!)
I would suggest going with VBA code for this.
Your question, actually, contains an answer (partial) - if you need data from another report that report must be opened first. However, the following code might help you somewhat.
You can open report(s) as hidden:
...
DoCmd.OpenReport "report0", acViewReport, , , acHidden
...
But again, I would recommend to write VBA code to pull the data using either existing queries from other reports or create new ones [queries].

Drill -up in SSRS

What is Drill-up, Drill-down and Drill- through in SSRS. Any steps how to implement in SSRS means in report wizard.
Thanks in Advance.
I don't think there is a concept Drill-up.
The Drill-Through in SSRS is a technique where you want to link a one report (Master Report) to other report. In a real worl reporting if some one want to see the Salary Slip (SalarySlip report) of an employee from employee list (EmployeeList) Report, Then there should be a link on employee Name where pop up of salary slip report displayed on cliking.
For further detail see the following link for drill through
http://technet.microsoft.com/en-us/library/ff519554.aspx
for drill down see the following link
http://www.mssqltips.com/tip.asp?tip=1329
There is no concept like Drill-Up in SSRS...
Below are the links which explain step-by-step approach for drill down and drill through..
http://www.mono-software.com/blog/post/Mono/139/Drill-down-in-SQL-Server-Reporting-Services-2008/
http://technet.microsoft.com/en-us/library/dd207031.aspx
As the others have said, Drill-Up isn't really there, but if you want to be able to navigate back to a certain report (beyond just the back button) you can have links back to it but you will need to keep track of your parameters which may mean passing them down to the drill down and then back to the 'drill-up'
The other option, which I have used, is to user the 'Go to URL' option and force your drill down report to open in a new tab. Then you can have a link to close it, or just tell the user to press the cross, and the 'parent' report is still there.
If you do use the URL option there are some globals that can help - Globals!ReportServerUrl, Globals!ReportFolder etc.