Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dewacorp.alliances
452 Posts |
Posted - 2007-09-21 : 02:29:13
|
Hi allBasically I had 2 paramater which ComputerName and MemberName. The membername was set as Multi-Value as sets as follow:Label: Value:Exclude Domain Admins Domain AdminsExclude Local Install Local InstallAnd the query is:SELECT id, ComputerName, GroupName, MemberName, ScanDateFROM GROUPMEMBERS WITH (NOLOCK)WHERE ComputerCN LIKE '%' + @ComputerName + '%' AND MemberName NOT IN (@MemberName) ORDER BY ComputerName ASCThe prompt is like this:Computer Name [ ] Excluded by [ ]The issue is in the second prompt I have to select "something" which is I don't want to. I want the user to have this parameter as an optional. Any ideas?Thanks |
|
jhermiz
3564 Posts |
Posted - 2007-09-21 : 22:48:36
|
Go to the menu for the RS parameters and select "Allow NULL values".Weblog -- [url]http://weblogs.sqlteam.com/jhermiz[/url] |
 |
|
dewacorp.alliances
452 Posts |
Posted - 2007-09-24 : 01:49:55
|
quote: Go to the menu for the RS parameters and select "Allow NULL values".
I did try this and it said that: "The properties for the currently selected item are not valid. Please contact all errors before continuing."BTW ... I've checked the "Multi-value" option. I don't think this work with "Multi-Value" checked.Thanks |
 |
|
|
|
|