SSRS - Passing parameter to run stored procedure

1.2k Views Asked by At

I have set up a report in SSRS which drills through to a 2nd report. The data in the second report is a stored procedure that has a parameter declared, as in:

CREATE PROCEDURE [dbo].[Procedure] (@Parameter VARCHAR(max)) AS.....

In the first report I have set up the Action on the text box properties to run the second report using the relevant parameter from the first report.

I am designing this in Visual Studio and when I 'Preview' the report in here it works correctly and the drillthrough passes through the parameter as intended. However when I deploy this onto our server and try to view the report using Internet Explorer the drill through doesn't work, I get an error saying that the parameter is read-only and cannot be modified.

From reading other posts relating to this online people have mentioned changing the parameter visibility to 'Visible' however this hasn't worked on mine.

Has anyone else experienced anything similar to this before?

Thanks.

1

There are 1 best solutions below

3
On

This seems to be a common problem when passing a parameter to a subreport. Have you seen this solution? http://saiabhilash.blogspot.nl/2012/05/report-parameter-is-read-only-and.html