Script Steps Reference
Table Of Contents
- Script steps reference (alphabetical list)
- About script steps
- 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 Device
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- 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
- Truncate Table
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Show Custom Dialog
- Allow Formatting Bar
- Refresh Object
- Beep
- Speak (OS X)
- Dial Phone
- Install Plug-In File
- Install Menu Set
- Set Web Viewer
- Open URL
- Send Mail
- AVPlayer Play
- AVPlayer Set Playback State
- AVPlayer Set Options
- Refresh Portal
- Send DDE Execute (Windows)
- Perform AppleScript (OS X)
- Execute SQL
- Send Event
- Comment
- Flush Cache to Disk
- Exit Application
- Get Directory
- Enable Touch Keyboard
- Glossary
Records script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 117
Delete All Records
Purpose
Deletes all the records in the current found set.
Format
Delete All Records [With dialog: On/Off]
Options
With dialog specifies whether to display a dialog box when the script step is performed, asking
users to confirm deletion of all records.
Compatibility
Originated in
FileMaker Pro 6.0 or earlier
Description
Important You cannot undo deleting records.
Delete All Records attempts to lock a group of records in the found set before deleting them. If it can
lock all records in the group, this script step deletes the group of records, attempts to lock the next
group of records, and so on. The first time it can’t lock all records in a group (for example, if a record
is being edited by another user), Delete All Records stops and returns an error code (which can be
captured with the Get(LastError) function).
Notes
• To delete all records in the current table, use the Show All Records script step, then use
Delete All Records.
Example 1
Asks if the user wants to delete all records in the current table.
Show All Records
Delete All Records [With dialog: On]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server Partial
FileMaker Go Yes
Custom Web Publishing Partial
FileMaker WebDirect Yes
Runtime solution Yes