Dear Vivian:
You didn’t leave me a return address, so I hope you see this response. I said I had an answer for you, but it’s taken many days to respond, and I apologize. It has been a difficult week in the salt mines. Deployments. Conference calls. Customers destroying network settings. Sales staff destroying demo software. It's crazy around here.
Anyway, the question was: how to hide a parameter in Reporting Services?
Go to the Report menu, select Report Parameters, and highlight the parameter you need to hide. The key is to clear the Prompt text box, and make sure to supply a default value. Reporting Services will no longer prompt the user to enter a value for the parameter. The parameter value can still be dynamic if there is a VB expression or a query to specify the default value.
To override the parameter at run time with a different value (perhaps by passing the new value in the query string when using URL access), then you may get the error “parameter is readonly and may not be modified”. Make sure to install SP1 for Reporting Services to fix this.
To determine the version of Reporting Services, go to the base URL for the report server (typically http://machinename/reportserver/. At the bottom of the browser page will be the version number:
Microsoft SQL Server Reporting Services Version 8.00.743.00 <- this is old
Microsoft SQL Server Reporting Services Version 8.00.878.00 <- this is SP1
Comments
<br>
<br>I tried this, but RS is still prompting. Is it beacause I have more than one parameter?
<br>
<br>Best regards/ Johan
<br>
<br>Are there any appoaches to hiding the parameters source with ReportViewer?
<br>
<br>
<br>Thanks.
<br>
<br>You can do this with programatically with the SOAP API. SetReportParameters takes an array of ReportParameter objects. A ReportParameter has a PromptUser boolean property.
<br>
<br>http://geekswithblogs.net/gobrien/archive/2004/07/30/9116.aspx
<br> strReportParm = "rc:Parameters=false"
<br> strReportParm +="OtherParms"
<br>"http://Localhost/ReportManager?/Report Folder/ReportName", strReportParm
<br>
<br>Have Fun
I have a problem with hiding 2 of 3 report parameters. How could I send 2 report parameters in URL and provide user with possibility to select remaining one?
I've tried to realize this, but after selecting remaining parameter and clicking 'View report' I just see nothing, no errors and no report.
Here I have a problem in MSRS2005.
Let me explain my scenario..
I have a report parameter allowed Multivalue selection in it. The value for this parameter is coming from a Dataset, suppose if this dataset returns only one value , the parameter should be defaulted otherwise if it returns more than 1 value the parameter should not be defaulted. Is there any way to achieve this??
I have tried adding a second datset to get the number of rows returned by the first dataset, by passsing this value to the parameter default expression..but this doesnt work. Can anybody help me out in this...
Thanks in Advance
Valar
And also that you may have to apply SP2 to the server and to the box running visual studio (can someone confirm this?)
Dom: Yes, that is correct. The SP would need to be applied anywhere there is an SSRS component installed, either client or server.