milindsaraswala
Firstly if you can get your hands on the Reporting Services Book Online, you will find some very useful information.
There are a number of ways to add a parameter the easiest way for me is to add some criteria to your query, for eg,
Change it from
SELECT * FROM table1
to
SELECT * FROM table1 WHERE name = @.Parameter1
When you look at the report parameters option in your layout tab you will now see Parameter1 as a parameter for the report, in this view you can set things like prompt, where nulls/blanks are allowed. It is here that you can select the values for the paramter be based on a query, which when you go to your preview tab will display the parameter now as a combo box.
HTH
No comments:
Post a Comment