Brian Dunning's FileMaker Custom Functions

GetFieldDataTypeFromObject ( ObjectName )

Get field data type from object name

  Average rating: 4.3 (35 votes) Log in to vote

Federico Severin   Federico Severin - Show more from this author
Sevesoftware Engineering

Share on Facebook Share on Twitter

  Sample input:
GetFieldDataTypeFromObject ( "SampleField" )
  Sample output:

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

If the parameter, ObjectName, is an object name assigned to a field in your layout, then this function will give you a one word description of the field's data type: text, number, date, time, timestamp, or container.
If the object is not a field, the output will be NULL (empty string).



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 16 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: