Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

list.ToSqlIn ( theList )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 3.0  (1 vote)
  Discuss this Custom Function

Tim Anderson, Tim Anderson Group
http://www.timanderson.co.uk

return delimited list to a string that can be used in a sql Where

Sample Input:
list.ToSqlIn ( "what¶can¶I¶find¶")
Sample Output:
( 'what', 'can', 'I', 'find', '')


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Description:

Used to convert a list (often results for a find or UIDs from a related table) to a string I can use when creating a ExecuteSQL query. Very simple check for numb ears vs text. May well be something in the library that does a better job, but works well for me.

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Discuss:

Single quote in value should be replaced with two single quote.

list.ToSqlIn ( "I'm¶not¶heavy¶")

esc, tokyo
April 22, 2018 8:32pm

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 2 + 5 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. WinClipboard ( String )
  (Fri, Jul 20, 12:52am)
2. BinToFloat32IEEE ( binary )
  (Wed, Jun 27, 11:01pm)
3. match_WindowName_List ( Window_Names_List )
  (Sun, Jun 24, 8:15pm)
4. match_LayoutName_List ( LayoutNames_List )
  (Sun, Jun 24, 8:09pm)
5. SQL_Creator_Select ( wrapped ; table_name ; layout_name ; using_field_from ; list_fields_only ; use_distinct ; key_field_list ; separator_for_records ; separator_for_fields )
  (Sun, Jun 24, 5:38pm)
6. SortList ( theList )
  (Sat, Jun 23, 8:45am)
7. HexUUIDToNum_cf (_uuid)
  (Sat, Jun 16, 1:55pm)
8. httpResponseCode ( responseHeaders )
  (Tue, Jun 12, 10:40pm)

RSS Feed of Custom Functions