Functions Reference

Table Of Contents
Get functions
F
ILEMAKER FUNCTIONS REFERENCE 97
Get functions
Get functions monitor errors in scripts, or capture information about file status or actions 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 update only when a
new record is created. If the calculation has other fields in it but the calculation result still returns the
current time, the stored calculation result will update only 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.
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, based on the account used to open the file, for
the enabled
extended privileges.
Get(AccountName) The authenticated account name being used by the file’s current
user.
Get(AccountPrivilegeSetName) The privilege set name being used by the account used to open
the 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 field that has the focus.
Get(ActiveLayoutObjectName) The name of the layout object that has the focus in the
calculation's current window.
Get(ActiveModifierKeys) A number for the keyboard modifier keys being pressed.
Get(ActivePortalRowNumber) The number of the portal row that has the focus.
Get(ActiveRepetitionNumber) A number representing the repetition that has the focus in a
repeating field.
Get(ActiveSelectionSize) A number representing how many characters are selected.
Get(ActiveSelectionStart) A number representing the starting character of the selected text.
Get(AllowAbortState) 1 (true) if the Allow User Abort script step is on; otherwise, returns
0 (false).
Get(AllowFormattingBarState) 1 (true) if the formatting bar is allowed to be visible; otherwise,
returns 0 (false).
Get(ApplicationArchitecture) The current application architecture.
Get(ApplicationLanguage) Text representing the current application language.
Get(ApplicationVersion) Text representing the FileMaker product and version.
Get(CalculationRepetitionNumber) A number representing the repetition of the calculation field being
calculated.
Get(ConnectionAttributes) The name of the current file’s host, and the certificate authority
that issued the SSL certificate used to secure the connection.