Groups | Blog | Home
all groups > sql server reporting services > april 2007 >

sql server reporting services : comboboxes input parameter


nkg
4/19/2007 12:06:24 PM
Is it possible to configure combo box with values depending on another
combobox selection in Reporting Parameters
e.g.
Input1: a combobox with country
Input2: should dynamically display states in the selected country, which
user can select.
appreciate any pointers . thx

EMartinez
4/19/2007 12:07:58 PM
[quoted text, click to view]


Sure. What you want to do is create a dataset to use for the second
report parameter (in the Data tab, select the <New Dataset...> option
from the drop-down list to the right of Dataset) and include the usual
query as well as the place holder parameter (i.e., select States from
StateTable where Country = @Country). Then select the 'Edit Selected
Dataset' button [...] and on the Parameters tab enter in the Name of
the parameter (in this case, @Country) [it is case sensitive by the
way] and select the Parameter that @Country should be dependent on
(most likely, something like: Parameters!Country.Value). hope this
helps.

Regards,

Enrique Martinez
Sr. Software Consultant
nkg
4/20/2007 2:45:55 PM
thx. a lot that worked.
[quoted text, click to view]

EMartinez
4/20/2007 4:10:10 PM
[quoted text, click to view]


You're welcome. Glad I could be of assistance.

Regards,

Enrique Martinez
Sr. Software Consultant
AddThis Social Bookmark Button