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 From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Audio/Video
- Insert PDF
- Insert File
- 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 72
Originated in
FileMaker Pro 6.0 or earlier
Description
You must specify a target field, click in a field, or use the Go to Field script step before performing
this script step. If you do not specify a file to insert, FileMaker Pro displays a dialog box where the
user can select a file.
Note If there is no active container field on the layout where the script is being performed, Insert
File returns an error code that can be captured with the Get(LastError) function.
Examples
Go to Field [Last Correspondence]
Insert File ["My_Letter.doc"]
The following parameters in the Insert File Options dialog box indicate that filters have been defined,
files are inserted in the field, and files are compressed when possible.
Insert File [Filters;Insert;Compress when possible]
Related topics
Script steps reference (alphabetical list)
Contents
Replace Field Contents
Purpose
Uses the value in a specified field in the current record or uses a calculation to replace the value in
that field in every record in the current found set.
Format
Replace Field Contents [No Dialog; <table::field>;
Current contents/Serial numbers/Calculation results]
Options
• Perform without dialog prevents display of the Replace Field Contents dialog box when
the script step executes.
• Select Go to target field or click Specify to specify the target field for the replace operation.
• Click Specify to display the Replace Field Contents dialog box, where you can determine
the settings required for the Replace Field Contents command.
FileMaker Go Yes
Custom Web Publishing No
Instant Web Publishing No
Runtime solution Yes
Where the script step runs Supported