How to automatically change a parameter in Reporting Services when another is changed?

Posted by Victor Rodrigues on Stack Overflow See other posts from Stack Overflow or by Victor Rodrigues
Published on 2010-04-29T19:11:42Z Indexed on 2010/04/29 19:17 UTC
Read the original article Hit count: 320

Filed under:

I have a 'Product' parameter in my report. Depending on the product the user chooses, it will call the report generator stored procedure from a different data source. Looking at this article, I've found how to do the first part of this solution. I've created two internal parameters, Server and Database, and the connection string will use them to connect to the right database.

But I need to set this two parameters when the user chooses a product. How could I do this?

(If @Product = X) => @Server = Y, @Database = Z

© Stack Overflow or respective owner

Related posts about reporting-services