Delete Portal Row
Purpose 
Deletes the selected portal row (which deletes data in a related record).
Format 
Delete Portal Row [No dialog]
Options 
Perform without dialog prevents a message box from displaying when the script step executes that asks the user to confirm the deletion of the portal row.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
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.)
Note  After you use a Delete Portal Row script step in FileMaker WebDirect, click anywhere on the layout or use a Commit Record/Request script step to commit the deletion.
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 [ ]
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 [No dialog]
End If
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)