Script Steps Reference

Table Of Contents
FILEMAKER SCRIPT STEPS REFERENCE 111
Examples
If [DayName(Get(CurrentDate)="Monday"]
Open ["Weekly Planner"]
Else
Open ["Daily Planner"]
End If
Related topics
Convert File
Script steps reference (alphabetical list)
Contents
Close File
Purpose
Closes the specified FileMaker file.
Format
Close File [Current File/”<filename>”]
Options
Specify lets you select a FileMaker Pro to close or an ODBC data source to disconnect from.
Choose Add FileMaker Data Source or Add ODBC Data Source to locate and select a file. After
you select a file, it is added to the Specify Table list. Choose Manage Data Sources to modify or
delete a data source you’ve already added to the list.
Compatibility
This script step is:
not supported in web publishing
not supported in a FileMaker Server scheduled script
Originated in
FileMaker Pro 6.0 or earlier
Description
If you do not specify a file, FileMaker Pro stops the currently running script and closes the FileMaker
database that the script is running from.
This script step disconnects the specified ODBC data source. This enables you to “re-login” to the
specified ODBC data source with a different user name and password, without closing the FileMaker
file.
Note If a user moves the specified file, FileMaker Pro might not be able to close the file.