Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Discrete Null Value in Multi-value Parameter 1

Status
Not open for further replies.

elansienna

Technical User
Jun 18, 2004
44
US
I have a report that was built using the following record selection on a parameter field:

(if {?Service Recipient Group} = "ALL" then true else
{PROBSUMMARYM1.RECIPIENT_GROUP} = {?Service Recipient Group} or
{PROBSUMMARYM1.RECIPIENT_GROUP} like {?Service Recipient Group} )

While "ALL" brings back all records including nulls, I need to be able to pass a value in and bring back just the null values. Any help will be appreciated.

Elansienna
 
Add a "Null" option to your parameter pick list and then try this:

(
if {?Service Recipient Group} = "Null" then
isnull({PROBSUMMARYM1.RECIPIENT_GROUP}) else
if {?Service Recipient Group} = "ALL" then
true else
(
{PROBSUMMARYM1.RECIPIENT_GROUP} = {?Service Recipient Group} or
{PROBSUMMARYM1.RECIPIENT_GROUP} like {?Service Recipient Group}
)
)

-LB
 
This works great! You are absolutely the best!!! Thanks for the quick response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top