Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
Files script steps
F
ILEMAKER SCRIPT STEPS REFERENCE 97
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
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]
Convert File
Purpose
Converts a supported file type into a FileMaker Pro file.
Format
Convert File [“<filename>”]