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
60 FileMaker Script Steps Reference
Description
In Browse mode, makes a duplicate of the current record. In Find mode, duplicates the
current find request.
If the record has a field set up for automatic entry of values, Duplicate Record does not
duplicate the value in the field of the current record. In that case, FileMaker Pro generates
and enters a new value for the duplicated record.
To use the Duplicate Record/Request script step with portal rows, first use the Go to Portal
Row script step on page 33, and then use the Duplicate Record/Request step. Using the
Duplicate Record/Request step when a portal row is selected will duplicate the selected
row in the related table. This option is only available when the option to allow creation of
related records has been enabled for the relationship.
Example
Perform Find [Restore]
Go to Record/Request/Page [Last]
Duplicate Record/Request
Delete Record/Request
Format
Delete Record/Request [No dialog]
Options
Perform without dialog prevents the deletion confirmation dialog box from displaying
when the script step executes.
Web compatibility
This script step is web-compatible.
Description
In Browse mode, deletes the current record. In Find mode, deletes the current find request.
Important You cannot undo a Delete Record/Request script step.
To delete Do this
A master record Make sure that the record you want to delete is active (use navigation script steps),
and then use Delete Record/Request. If the current layout contains a portal
, use Exit
Record/Request to make sure that no related record
is selected, then use Delete
Record/Request.
A related record Use the Delete Portal Row script step on page 61. If Delete Record/Request
executes when a related field
in a portal is selected, the user sees a dialog box that
asks whether the master record or related record
should be deleted. (Note that Allow
deletion of portal records must also be selected in the Portal Setup dialog box to
enable deletion of related records.)
A find request Make sure that the find request you want to delete is active (use navigation script
steps), and then use Delete Record/Request.