Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hey Guys,

 

I have a list of UUIDS all separated via a carriage return. I'm using a where IN clause in my execute SQL and understand that if I want to put my values in the IN then I need to remove the carriage returns and surround each value with a quote mark.

 

Does anyone already have a standard way of doing this or a custom function already available they can point me towards.

 

Thanks

Jalz

Posted

Does anyone already have a standard way of doing this 

 

Try

ExecuteSQL ( "
  …
  WHERE someField IN ('" & Substitute ( listOfUUIDs ; ¶ ; "','" ) & "')
  " ; "" ; ""
)

Note the two singles quotes, just after the opening and before the closing parenthesis.

This topic is 3615 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.