In my report, I have an expression which is used to pass a parameter to a child report parameter which is set to allow null values. The expression is :
=IIf(Parameters!Lead.Value = "False",Nothing,Fields!Paid.Value)
This expression
The above expression returns values only when Fields!Paid.Value is not blank. Therefore when Fields!Paid.Value is blank I get an error
"the value provided for the report parameter is not valid"
The issues is not in the Parameter!Lead.Value being "True" or "False". The issue is that the Field!Paid.Value only return records when Paid Column is not empty or blank. It fails to return record when value in Field.Paid.Value is blank. The first condition being true, how do I ask Field!Paid.Value to return nothing if empty?
How do I modify my expression to parse these two conflicting issues?
What I want is to be able to return values when the Fields!Paid.Value is blank or when it is null. So at all time when the expression runs corresponding values are returned without the error stated above.
Thanks for helping out.
Zionlite