Brian Dunning's FileMaker Custom Functions

FieldList4SQL ( FieldNameList )

Convert a list of field names to the quoted format for sql use.

  Be the first to rate this function Log in to vote

Philip Wang   Philip Wang - Show more from this author
106th Street Wheel and Tire

Share on Facebook Share on Twitter

  Sample input:



  Sample output:
All the above returns the same output:


  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This function is mainly used for my own sql lookup function, so that it can return multiple fields. It can be done by hand crafting the return field name, but I'd rather using a function like this to automatically generated the field list between "SELECT" and "FROM". I use GetFieldName( ) a lot, which always have table name. So this function also strip out the "tablename::" for each line.



Log in to post comments.


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

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: