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

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

Recommended Posts

Posted

The technique described is OK, but we've had FilterValues since FileMaker 7.

 

Rather than:

PatternCount ( "¶" & List ( cListOfJobIDs ) & "¶" ; "¶JOB11333¶" )

You can do this:

FilterValues( List ( related::JobIDs ) ; "JOB11333" )

The result will be the text you searched for, rather than a boolean. You can then test for IsEmpty.

 

Another nice thing about FilterValues is that you can test for multiple values at once.

 

PS: your original formula was missing that second ampersand.

PPS: note that single pilcrows no longer need quotes since FileMaker 7.

PPPS: it seems likely that cListOfJobIDs is already a list, so you wouldn't wrap it in a List function.

  • Like 1
×
×
  • Create New...

Important Information

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