#F
Field name in quotes, ready for use in ExecuteSQL
Be the first to rate this function Log in to vote
John McElwain - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Super simple CF that I use all the time. I got this from the file sqlQueryBuilder by Mislev Kos at Soliant Consulting ...
https://www.soliantconsulting.com/blog/filemaker-query-builder/
Mislev apparently based this on Kevin Frank's filemakerhacks.com custom function GFN
https://filemakerhacks.com/2011/03/25/custom-functions-for-internal-sql/
Comments
Eric Scheid Mar 13, 2024 |
||
This function as is will return "fieldname[n]"if called from a repeating field context. Modify it as follows: Quote ( GetValue ( Substitute ( GetFieldName ( field ) ; ["::" ; ¶]; ["[" ; "¶["] ) ; 2 ) ) |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.