Filemaker Pro 8.5 Educational Maintenance T0 TJ087LL/A User Manual

Product codes
TJ087LL/A
Page of 238
Chapter 7
  
|
  Get functions     63
Chapter 7
Get functions
 in scripts for error checking and prevention, or to capture information 
 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 
, 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 
, 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 
View all functions by name
, you 
see only Get(flag).
Note  
See FileMaker Pro help for information about running scripts in client/server and 
peer-to-peer environments.
Click a function name for details.
This function
Returns
The authenticated account name being used for the active 
database file.
The contents of the 
 containing the cursor.
The name of the field currently containing the cursor.
 that contains the active field (the field that 
currently contains the cursor).
The name of the layout object in the calculation's active window 
(the window that currently contains the cursor).
A number representing the keyboard modifier keys (for example, 
Shift) that are being pressed.
A number representing the current (active) repetition of a 
A number representing how many characters are selected.
A number representing the starting character of the selected text.
 value representing the current state of Allow user 
abort script step.
A Boolean value representing whether toolbars are allowed to be 
visible.
Text representing the current application language (for example, 
English).