Go to Contents
Previous
Page
Next
Page
Contents > Script steps reference (alphabetical list) > Records script steps > Delete Record/Request script step

Delete Record/Request script step
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.
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. 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.
Important   You cannot undo a Delete Record/Request script step.
Example

Perform Find [Restore]
Omit
Delete Record/Request [ ]
Related topics
Script steps reference (alphabetical list)
Script step categories

Contents > Script steps reference (alphabetical list) > Records script steps > Delete Record/Request script step
Previous
Page
Next
Page