Home > Forum > Actions > "is in" on a collection did not work :-(

"is in" on a collection did not work :-(
0

Hi Guys,
i am a little confused why this easy logic does not work.

I have a single value field which contains an SAP-No. I'd like to know if this No. "is in" a Dictionary (collection by "Return all rows" of Data Source Values).
Always returns the "then" Value of my If-Clause...Think its really an easy mistake i make, but i cant see it :-(

MVP

Hi Gerd,


I’m not sure whether the IS IN function works and I currently can’t test it myself.

An alternative would be to use the count function. Your data source would be passed as a parameter for the function and you could define the filter for the SAP number in the data source. If the count is > 0 then the number does exist.

I just this for another case this morning, so I’m sure the alternative .

Best regards,
Daniel