In SSRS 2008, how do pass variables from one report to another?

谁说我不能喝 提交于 2019-12-11 18:43:53

问题


How do I, pass a variable from one to another report when I launch a report through the Action Property of an Object? And how do I use the received string variable as the contents of a dataset or at least the contents of a defined variable in a dataset. Also, how would I be able to use that variable as text in a text box? Finally, how would I pass multiple variables?


回答1:


Passing parameters via URL

If you are working with Report parameters, you can pass parameters to a report via URL, as example:

https://myrshost/ReportServer?/AdventureWorks 2008R2/Employee_Sales_Summary_2008R2&ReportMonth=3&ReportYear=2008  

Reference

  • Pass a Report Parameter Within a URL
  • Passing parameter via url to sql server reporting service

Drillthrough Reports

If you want to navigate from one report to another one, by clicking on an item or information that would be sent as parameter to another one. Then you should read about Drillthrough Reports.

  • Drillthrough Reports (Report Builder and SSRS)
  • Tutorial: Creating Drillthrough and Main Reports (Report Builder)
  • Drill Through Report or Hyperlink to other SSRS Report Passing Values from one Report to Another in SSRS
  • Drill Through Reports in SSRS


来源:https://stackoverflow.com/questions/54496783/in-ssrs-2008-how-do-pass-variables-from-one-report-to-another

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