Delete Portal Row
Purpose
Deletes the selected portal row (which deletes data in a related record).
See also
Format
Delete Portal Row [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 the
portal row.
Compatibility
Where the script step runs | Supported |
FileMaker Pro | Yes |
FileMaker Server | Partial |
FileMaker Go | Yes |
Custom Web Publishing | Partial |
FileMaker WebDirect | Partial |
Runtime solution | Yes |
Originated in
FileMaker Pro 6.0 or earlier
Description
Use the
Go to Portal Row script step to control which row is selected. (If no portal row is selected, nothing happens when this script step executes.)
Important You cannot undo a Delete Portal Row script step.
Example 1
Asks if the user wants to delete the portal row if a product is discontinued.
If [Products::Availability = "Discontinued"]
Delete Portal Row [With dialog: On]
End If
Example 2
Asks if the user wants to delete the product in the current portal row.
Show Custom Dialog ["Do you want to delete " & Products::Name & "?"]
If [Get ( LastMessageChoice ) = 1]
Delete Portal Row [With dialog: Off]
End If
Related topics