U.M. (Mac OS)

Table Of Contents
C-16 FileMaker Pro User’s Guide
Status functions
You can use status functions in ScriptMaker scripts to monitor the state
of your database. When creating a calculation using a status function,
choose Status functions from the pop-up menu above the function list,
then double click the status function you want from the function list. For
examples of scripts that use status functions, see “Displaying
customized layouts” on page 5-32 and FileMaker Pro Help.
Syntax Definition
Status (CurrentAppVersion) Returns the FileMaker Pro version currently in use
Status (CurrentDate) Returns the current date
Status (CurrentError) Returns a number for the current error value. Use
Status (CurrentError) to check error results when
FileMaker Pro performs a script. (See “Control
steps” on page 5-5.)
Status (CurrentFieldName) Returns the name of the current field
Status (CurrentFileName) Returns the name of the current file
Status (CurrentFileSize) Returns the size (in bytes) of the current file
Status (CurrentFoundCount) Returns the number of records in the current
found set
Status (CurrentGroup) Returns the group (or groups) that the current user
is a member of, based on the current password
Status (CurrentHostName) Returns the host name FileMaker Pro registers on
the network
Status (CurrentLanguage) Returns the current language set on the
current system
Status (CurrentLayoutCount) Returns the number of layouts in the database
Status (CurrentLayoutName) Returns the name of the current layout
Status (CurrentLayoutNumber) Returns the number of the current layout
Status (CurrentMessageChoice) Returns a number corresponding to the button
clicked in an alert message displayed using the
Show Message step in a script. Returns 1 for OK, 2
for Cancel, and 3 for the third defined button. (See
“Open Menu Item steps” on page 5-10.)
Status (CurrentMode) Returns a number for the FileMaker Pro mode in
use when the calculation is performed. Returns 0
for Browse mode, 1 for Find mode, or 2 for
Preview mode.