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 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
Instant Web Publishing 
No 
Runtime solution 
Yes 
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.
Examples 
Close ["Names"]
Close ["Payments"]
Close ["Tasks"]
Close [Current File]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)
Working with data sources