Script Steps Reference

Table Of Contents
Chapter 13
|
Miscellaneous script steps 141
Exit Application
Format
Exit Application
Options
None.
Web compatibility
This script step is web-compatible.
Description
Closes all open files and exits the FileMaker Pro application. If this script step is
associated with a button and if the file is accessed through the Web, performing the script
will log out the current web session.
Example
The following example, used as a startup script, prevents the user from opening the
database on a weekend.
Allow User Abort[Off]
If [DayName(Get (CurrentDate)) = "Saturday" or DayName(Get(
CurrentDate)) = "Sunday"]
Exit Application
End If