all groups > sql server reporting services > may 2005 >
You're in the

sql server reporting services

group:

parameter limiting


parameter limiting scraejtp
5/26/2005 3:05:22 PM
sql server reporting services:
I have a few required parameters listed at the top of a report. I want to
make it where when one parameter is chosen in the drop down menu, the other
parameter(s) limit their choices accordingly. I can't seem to find a way to
do this though.
Any help would be great. Thanks.

RE: parameter limiting Antoon
5/26/2005 11:22:03 PM
Use the first parameter in the SQL for the second

[quoted text, click to view]
RE: parameter limiting scraejtp
5/27/2005 8:07:17 AM
Don't think I follow. This is at the top of a report, there are 4 parameters
they need to specify. I want it to somehow update the list of the other drop
down parameters when they choose one.

For example at the top of a report they will have a parameter "Automaker",
and it will have Ford, GM. Then another parameter at the top called "cars"
and it will contain neon, mustang, corvette, f150. When they pick Ford under
automatker, I want the other parameter drop down to only show the mustang and
f150 without going to a different report.

[quoted text, click to view]
Re: parameter limiting scraejtp
5/27/2005 9:45:19 AM
Got it. Thanks.

[quoted text, click to view]
Re: parameter limiting Bruce L-C [MVP]
5/27/2005 10:26:46 AM
Base the dependent parameters on queries. Then have the SQL for the query
use the report parameter value to define the list.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: parameter limiting scraejtp
5/27/2005 1:57:37 PM
Also, I forgot to mention, it works completely in the preview without any
issues.

[quoted text, click to view]
Re: parameter limiting scraejtp
5/27/2005 2:01:11 PM
Ok, I got it to work, except for one small thing. Now when the screen opens
you have your choices like you should. If you chose a different parameter
than the one it opens with the list does not change accordingly. BUT if you
click anywhere on the screen first, and then change the parameter it will
change the list accordingly. And it only takes the one click and then you can
change the first parameter as many times as you like and it will change
accordingly. It is like it isn't updating until the screen is reselected. Any
insights?

[quoted text, click to view]
AddThis Social Bookmark Button