nolasaintsgal
asked on
If multivalue parameter is left blank then display "All" else display the values
I have a multivalue parameter that asks for initials. They do not select from a list so they can leave it blank or add as many initials as they like. When they enter initials, this works fine: Join(Parameters!Initials.V alue, ", "). It display the initials in the report header with a comma separator.
If they don't enter any initials I want the expression in the report header to display "ALL." This doesn't print anything:
=IIF(Parameters!Initials.V alue is Nothing, "ALL", Join(Parameters!Initials.V alue, ", "))
I've also tried:
IIF(Parameters!Initials.Va lue="", "ALL", Join(Parameters!Initials.V alue, ", "))
IIF(IsNothing(Parameters!I nitials.Va lue), "ALL", Join(Parameters!Initials.V alue, ", "))
How do I need to write this?
If they don't enter any initials I want the expression in the report header to display "ALL." This doesn't print anything:
=IIF(Parameters!Initials.V
I've also tried:
IIF(Parameters!Initials.Va
IIF(IsNothing(Parameters!I
How do I need to write this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.