OR Statement with string values

When casting an OR statement with a string value, do I have to repeat the the query every time?

Example: value of setting “blah” of client as string = “blah” or value of setting “blah” of client as string = “blah2” or value of setting “blah” of client as string = “blah3”

Read the relevance right to left, then you can do the cast just once and repeatedly test against that result

(it = "blah" or it = "blah2" or it = "blah3") of (value of setting “blah” of client as string)

2 Likes

Is there any limit to how many can be used in a computer group that you know of? I have 106 options I need to get in there.

Hi John,

I’ve not come across a limit, but then again I don’t recall ever going to quite those lengths.

As an option, how about using sets to make it easier to construct?

(value of setting “blah” of client as string) is contained by set of ("fee"; "fi"; "fo"; "fum")

2 Likes

This is the first I’ve ever seen sets - I like them - I like them a lot!

Amazing help! Thanks so much Trevor!