Reference > Functions reference > Logical functions > GetFieldName
 

GetFieldName

Returns the fully qualified name of a field reference.

Format 

GetFieldName(field)

Parameters 

field - any field object or evaluation of a text expression that refers to a field’s name

Data type returned 

text

Originated in 

FileMaker Pro 10.0

Description 

Use this function to get the fully qualified name of field (tableName::fieldName).

Notes 

If you specify the context for the current calculation, this function will be evaluated based on that context. Otherwise, it will be evaluated based on the context of the current window.

Example 1 

GetFieldName(x) returns the name of a field reference passed into a custom function as parameter x.

GetFieldName(Evaluate(<fieldName>)) returns the name of a field based on the data stored in <fieldName>.

GetFieldName(Evaluate(Get(ActiveFieldName))) returns the fully qualified name of the field that has the focus when executed.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions