Go to Contents
Previous
Page
Next
Page
Contents > Script steps reference (alphabetical list) > Files script steps > Close File script step

Close File script step
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.
Web compatibility
This script step is not web-compatible.
Description
Closes the specified FileMaker file. 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.
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.
Example

Close ["Names"]
Close ["Payments"]
Close ["Tasks"]
Close [Current File]
Related topics
Script steps reference (alphabetical list)
Script step categories
Working with data sources

Contents > Script steps reference (alphabetical list) > Files script steps > Close File script step
Previous
Page
Next
Page