Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- 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
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
Chapter 9
|
Files script steps 105
Notes
• If new database creation has been disabled in your installation of FileMaker Pro, it will
not be possible to convert foreign 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.
Example
If [DayName(Get(CurrentDate)="Monday"]
Open ["Weekly Planner"]
Else
Open ["Daily Planner"]
End If
Close File
Format
Close File [Current File/”<filename>”]
Options
Specify lets you select a FileMaker Pro database to close. Choose Add File Reference
to specify a file or add additional filenames to the Specify list. Choose Define File
References to modify or delete a file referencee you’ve already added to the list.
Web compatibility
This script step is not web-compatible.
Description
Closes the specified file. If you do not specify a file, FileMaker Pro stops the currently
running script and closes the database that the script is running from.
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]