Returning back to the original report via a return link button in the linked report with multiselect params in the main report

女生的网名这么多〃 提交于 2019-12-01 04:19:48

问题


I am working with ssrs reports. I have a summary and a detailed report. The detailed report is linked to the summary report. Now the user wants to have a "Return to Summary Report" link in the detailed report.

My main problem is I have multiselect parameters in the Summary report. I know the solution if I have single select parameters. In that case I can create a textbox with text decorated as link button and in the Action property of the textbox I choose Jump to report and provide paramaters which I get from the previous report. This method works for single select parameters in the summary but I dont know how to handle the multi select.

Also we do not have the small button that ssrs provides to go back to reports. So thats not an option I can use.

Any ideas will be appreciated.


回答1:


In the Action property Ihad to select the "Jump to URL" option and put this in the textbox for Jump to URL:

="javascript: history.go(-1)"



回答2:


Here is whre you have to place javascript:history.back(1)

  • right click on the report

  • click insert -> textbox

  • once the text box is created

  • right click and choose "Text box properties"

  • click "Action" property

  • choose Go to URL option button

copy and past javascript:history.back(1)

(Note: it is case sensitive, you don't need to put quotation mark")

then click ok and this should be working in IE



来源:https://stackoverflow.com/questions/10902664/returning-back-to-the-original-report-via-a-return-link-button-in-the-linked-rep

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!