views:

4379

answers:

2

I have two reports built using SSRS 2005. The first report is set to navigate to the second when a specific field is clicked. I am using an expression similar to the following in the "Jump to URL" property of the textbox:

="javascript:void(window.open('http://server/reportserver?%2fFolder%2fMyReport&rs:Command=Render&Date=" & Fields!Date.Value & "&MachineId=" & Fields!Machine.Value & "'))"

There is a multi-value parameter on the second report. I need to pass multiple values for this parameter in the URL query string when calling this report. Is there a way to pass multiple values for a parameter in the query string of a report? Or can you pass a parameter that will cause the Select All value to be selected?

Thanks.

+2  A: 

Just add additional query string parameters. IE: http://server/reportserver?%2fFolder%2fMyReport&rs:Command=Render&Date=2009-06-01&MachineId=Machine1&MachineId=Machine2&MachineId=Machine3&MachineId=Machine4

Mitch
That worked perfectly! Thanks for your help.
Jamie
A: 

Hi All,

I have main matrix report and I want to navigate my sub report from main report by Jump To URL:(Using below JavaScript function) method.

="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,",")+"'))"

It is ok for the Single valued but giving exception for the multivalued

Like 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. Basically I have defined Parameters!RP_cll_typ_l1 as multivalued into my subreport as per ssrs multivalued parameter passing method. The value is going on sub report as '1,2,3,4' (not understandable by data set) It should be like as '1’,’2’,’3’,’4' or 1,2,3,4 How can I resolve this please help if any have solution?

Thanks

Kali Charan Tripathi(India)

[email protected]

[email protected]

Kali Charan Tripathi
its done now prob with the no of charaters which i am passing on url as multivalued parameters.Its is key but its not going on the rendering reports.Actually no of characters are approx 2000 and as per url limit we can pass only 2083 charaters.another thing i am not displaying whole report into web browser istead of this i am exporting it in to the excel sheet as per requirment.Please help me if any have this solutionThank You
Kali Charan Tripathi