SanitizeFieldName ( Field )
Return result of GetFieldName() and add "${" and "}" to field name if needed.
Be the first to rate this function Log in to vote
Koji Takeuchi - Show more from this author
TonicNote, Inc. https://tonicnote.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
SanitizeFieldName ( customer::nameLast )
-> "customer::nameLast"
SanitizeFieldName ( customer::${nameFirst(foobar)} )
-> "customer::${nameFirst(foobar)}"
ex1:
Set Variable [ $FQFN ; Value: GetFieldName ( customer::${nameFirst(foobar)} ) ]
-> $FQFN = "customer::nameFirst(foobar)"
GetField ( $FQFN )
-> ?
ex2:
Set Variable [ $FQFN ; Value: SanitizeFieldName ( customer::${nameFirst(foobar)} ) ]
-> $FQFN = "customer::${nameFirst(foobar)}"
GetField ( $FQFN )
-> value of "nameFirst(foobar)" field.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.