Reference > Functions reference > Get functions > Get(FileName)


Returns the name of the currently active file, without the filename extension.


Get ( FileName )



Data type returned 


Originated in 

FileMaker Pro 6.0 or earlier


If the current calculation is stored and you specify its context, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window.


If you use Get(FileName) in a function parameter that requires a filename and the filename contains a period, include the filename extension in the parameter. Otherwise, functions may interpret the period in the filename as the beginning of the filename extension, which can lead to unexpected results.

Example 1 

Returns Contacts when Contacts is the active file.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas