Script Steps Reference
Table Of Contents
- Contents
- About script steps
- Script steps reference (alphabetical list)
- Control script steps
- Perform Script
- Pause/Resume Script
- Exit Script
- Halt Script
- If
- Else If
- Else
- End If
- Loop
- Exit Loop If
- End Loop
- Allow User Abort
- Set Error Capture
- Set Variable
- Install OnTimer Script
- Navigation script steps
- Go to Layout
- Go to Record/Request/Page
- Go to Related Record
- Go to Portal Row
- Go to Object
- Go to Field
- Go to Next Field
- Go to Previous Field
- Enter Browse Mode
- Enter Find Mode
- Enter Preview Mode
- 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
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
FILEMAKER SCRIPT STEPS REFERENCE 110
Related topics
Script steps reference (alphabetical list)
Contents
Open File
Purpose
Opens the specified FileMaker file or allows the user to select a file to open.
Format
Open File [Open hidden; “<filename>”]
Options
• Open hidden causes FileMaker Pro to open and hide the specified database.
• Specify lets you select a FileMaker Pro database or ODBC data source to open. 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
For ODBC data sources, this script step re-establishes a link to the ODBC data source.
Script steps after Open execute in the FileMaker file that contains the script, not the file opened by
the script.
If you don't specify a file, FileMaker Pro displays the Open File dialog box when the Open File script
step executes so that the user can specify a file. The Open File dialog box will also be displayed if
the file used in the script has been moved, deleted, or renamed.
Notes
• If new database creation has been disabled in your installation of FileMaker Pro, it will
not be possible to convert file types such as Microsoft Excel or tab delimited files into
FileMaker
Pro databases. However, you can still import the data from other file types
into FileMaker Pro (if you open the database with a password that allows you to import).
If you need more information, contact your system administrator.
• In runtime solutions, the Open File script step returns an error if an external file is not
bound to the solution.
• This script step is unable to open a file from an unauthorized file.