我有主矩阵报告,我想通过Jump To 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
要在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&...