Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7003 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a field that has the contents set by a series of checkboxes.

So for instance, the contents could be :) 1,2,3

How can i tell the system to check to see if 2 exists, or 3 exists. I've used left and right words, but that woudln't give me to. is there a basic "if contains" command short of using the position command?

Thanks.

Posted

Multiple value list items selected in a field are separated by ¶. So

PatternCount( "¶" & fieldName & "¶", "¶2¶" )

or

Position( "¶" & fieldName & "¶", "¶2¶", 0, 1 )

will both return true (a non-zero value) when 2 is one of the items selected in the field. To force them to return a 1 when true, use

PatternCount( "¶" & fieldName & "¶", "¶2¶" ) or 0

or

Position( "¶" & fieldName & "¶", "¶2¶", 0, 1 ) or 0

This topic is 7003 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.