【问题标题】:How to pass multi value parameter in ssrs 2005 URL and how to save report directly to excel如何在 ssrs 2005 URL 中传递多值参数以及如何将报表直接保存到 excel
【发布时间】:2011-12-02 17:14:41
【问题描述】:

我已经编写了一份 ssrs 2005 报告。 我的第一个问题是如何在 ssrs 报告 URL 中传递多值参数。例如,传递给报告 url 的简单参数对我来说效果很好。 http://MYSERVER/ReportServer?MyReport&rs:Command=Render&QuestionName=Q1 但是如何为相同的参数传递 muli 值,例如 http://MYSERVER/ReportServer?MyReport&rs:Command=Render&QuestionName=Q1,Q2,Q3

我试过这样 http://MYSERVER/ReportServer?MyReport&rs:Command=Render&QuestionName=Q1&QuestionName=Q2&QuestionName=Q3 但是当我执行报告时,它只采用了第一个参数值,即“Q1”

谢谢

【问题讨论】:

    标签: sql-server-2005 reporting-services reportingservices-2005


    【解决方案1】:

    我找到了自己问题的一种解决方案。
    创建一个显示问题名称的数据集,然后在报告中将其设置为多值参数。这样,当您将在 ssrs 报告 url 中使用参数时,例如
    http://MYSERVER/ReportServer?MyReport&rs:Command=Render&QuestionName=Q1&QuestionName=Q2&QuestionName=Q3 然后它会工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-02-09
      • 2010-11-14
      • 2020-04-23
      • 1970-01-01
      相关资源
      最近更新 更多