Functions Reference

Table Of Contents
FILEMAKER FUNCTIONS REFERENCE 74
Get functions
Use Get functions in scripts for error checking and prevention, or to capture information about the
status of a database file or elements in it, or an action being performed.
Many Get functions return information that changes on a regular basis. For example, when the
Get(CurrentTime) function is placed in a stored calculation field, the time will only update when a
new record is created. If the calculation has other fields in it, but the calculation result still returns the
current time, then the stored calculation result will only update when those other fields have been
modified in the current record. If either of these calculations are unstored, the time will update as
needed. For performance reasons, making a calculation field unstored is not always the best idea.
Get functions are best used in a script where the status information from a Get function is up to date
at the moment that the calculation is run.
To access the list of Get functions, in the Specify Calculation dialog box, choose View all functions
by type or View Get functions. When you choose View all functions by name, you see only
Get(flag).
Note For information on how functions evaluate differently on the host versus the client, search the
FileMaker Knowledge Base available at
http://help.filemaker.com.
Click a function name for details.
This function Returns
Get(AccountExtendedPrivileges) A list of keywords for the enabled extended privileges, separated
by carriage returns. The list that is returned is based on the
account used to open the database file.
Get(AccountName) The authenticated account name being used for the active
database file.
Get(AccountPrivilegeSetName) The name of the privilege set that is being used by the account
used to open the database file.
Get(ActiveFieldContents) The contents of the field that has the focus.
Get(ActiveFieldName) The name of the field that has the focus.
Get(ActiveFieldTableName) The name of the table that contains the active field (the field that
has the focus).
Get(ActiveLayoutObjectName) The name of the active layout object in the calculation's active
window.
Get(ActiveModifierKeys) A number representing the keyboard modifier keys (for example,
Shift) that are being pressed.
Get(ActivePortalRowNumber) The number of the portal row containing the focus.
Get(ActiveRepetitionNumber) A number representing the active repetition of a repeating field
(the repetition that has the focus).
Get(ActiveSelectionSize) A number representing how many characters are selected.
Get(ActiveSelectionStart) A number representing the starting character of the selected text.
Get(AllowAbortState) A Boolean value representing the current state of Allow user
abort
script step.
Get(AllowFormattingBarState) A Boolean value representing whether toolbars are allowed to be
visible.
Get(ApplicationLanguage) Text representing the current application language (for example,
English).