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
58 FileMaker Script Steps Reference
Notes
• The target field specified for the Relookup Field Contents step must be an editable
field.
• Relookups are only performed on the found set of records in the active table.
• Calculation fields cannot be used for the Relookup Field Contents command. If you
use the Relookup Field Contents command, and you're using a calculation field as
the matching value, you must specify one of the input fields for the calculation as the
field parameter for the Relookup Field Contents.
Example
Show All Records
Go to Layout [“Data Entry”]
Go to Field [Table1::Invoice Number]
Set Field [Table1::Invoice Number; Max(Table1::Invoice Number)]
Relookup Field Contents [No dialog, Table1::Customer ID]
Export Field Contents
Format
Export Field Contents [<table::field>; “<filename>”]
Options
• Select Specify target field or click Specify to specify the field to be exported. If no
field is specified, FileMaker Pro will export the contents of the current field in the
active table.
• Select Specify output file or click Specify to specify the name and location of the file
to which the field contents will be exported. For more information, see FileMaker Pro
Help. If no file is specified, the user is asked to choose a filename and location when
the script step is performed. You can choose to Automatically open file or Create
email with file as attachment after saving.
Web compatibility
This script step is not web-compatible.
Description
Exports the contents of a single field in the active record to a new file.
Example
Go to Layout [Images::Nature Scenes]
Export Field Contents [Images::Original Pictures;”Uncropped.jpg”]