Return to the original report using the back button in the linked report with multiselect parameters in the main report

I work with ssrs reports. I have a summary and a detailed report. A detailed report is associated with the final report. Now the user wants to have a “Return to summary report” link in the detailed report.

My main problem is that the summary report has multi-mode options. I know the solution if I have separate selection options. In this case, I can create a text box with the text decorated as a link button, and in the Action property of the text box select "Go to report" and provide the parameters that I get from the previous report. This method works for individual selection options in the summary, but I don't know how to handle multi-selection.

Also, we do not have a small button that ssrs provides for returning to reports. So this is not an option that I can use.

Any ideas would be appreciated.

+4
source share
2 answers

In the Action Ihad property, select the "Go to URL" option and place it in the text box to go to the URL:

="javascript: history.go(-1)" 
+6
source

Here you need to place javascript: history.back (1)

  • right click report

  • click paste -> text box

  • after creating the text box

  • right click and select "Text Box Properties"

  • click the Action property

  • select the "Go to URL" button

copy and previous javascript: history.back (1)

(Note: this is case sensitive, you do not need to specify a quotation mark ")

then click “OK” and this should work in IE

+1
source

Source: https://habr.com/ru/post/1416206/


All Articles