【问题标题】:How to pass Multivalued parameters through URL in SSRS 2005如何通过 SSRS 2005 中的 URL 传递多值参数
【发布时间】:2010-01-07 12:18:40
【问题描述】:

我有主矩阵报告,我想从主报告中导航我的子报告 跳转到 URL:(使用下面的 JavaScript 函数)方法。

="javascript:void(window.open('http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fKonsolidata_Data_Exporting_Project%2fEXPORT_REPORT_TEST&rs:Command=Render&RP_cntry="+Fields!STD_CTRY_NM.Value+"&RP_cll_typ_l1="+Join(Parameters!RP_cll_typ_l1.Value,",")+"'))"

单值可以,多值例外

喜欢

An error has occurred during report processing. (rsProcessingAborted) 
Cannot read the next data row for the data set DS_GRID_DATA. (rsErrorReadingNextDataRow)
Conversion failed when converting the nvarchar value '1,2,3,4' to data type int.

基本上我已经根据 ssrs 多值参数传递方法将 Parameters!RP_cll_typ_l1 定义为多值到我的子报告中。 该值在子报告中为“1,2,3,4”(数据集无法理解) 它应该像 '1','2','3','4' 或 1,2,3,4 请问有什么办法可以解决吗?

谢谢

Kali Charan Tripathi(印度)

tripathi_soft@yahoo.co.in

kalicharan.tripathi@in.schneider-electric.com

【问题讨论】:

    标签: reporting-services parameters urlaccess


    【解决方案1】:

    要在 SSRS 中通过 URLAccess 使用多值参数,您必须为每个值重复参数名称

    所以不是

    ...&RP_cll_typ_l1=1,2,3,4&...
    

    你会的

    ...&RP_cll_typ_l1=1&RP_cll_typ_l1=2&RP_cll_typ_l1=3&RP_cll_typ_l1=4&...
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-17
      • 1970-01-01
      相关资源
      最近更新 更多