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
Sevesoftware Engineering
http://www.sevesoftware.it

Share on Facebook Share on Twitter

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

  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).

 

Comments

Log in to post comments.

 

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

Under construction. Email me your wish list for improvements.