Help

Table Of Contents
FILEMAKER PRO HELP 830
Data type returned
number
Originated in
FileMaker Pro 6.0 or earlier
Description
Returns:
0 for Browse mode
1 for Find mode
2 for Preview mode
3 if printing is in progress
4 (FileMaker Pro Advanced) if evaluating the function from the Data Viewer and the current
window is in Layout mode
If a script
using this function runs while the file is in Layout mode, FileMaker Pro switches to Browse
mode and returns 0. If there are multiple windows open in the current database file
, each window
can have its own window mode value, but results are returned for only the foreground window.
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
.
Examples
Returns 2 if the file is in Preview mode when the function is evaluated.
Related topics
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
Get(WindowName)
Purpose
Returns the name of the window on which the script is acting (not necessarily the foreground
window).
Format
Get(WindowName)
Parameters
None