Insert a capture as the very first step in your script:
Set Error Capture [On]
I use Show Custom Dialog to ask if the record should be deleted so that I can provide data from the record selected for deletion to make things more user friendly. Then, if OK is clicked, I use Delete Record with the no dialog option to delete it.
Show Custom Dialog ["Delete " & YourTable::NameField & "'s record?"]
If [Get (LastMessageChoice ) = 1 // OK was clicked ]
Delete Record [no dialog]
Also, thanks Phil...I had known that, but was hoping for a double check for answering the question "Do you want to delete?"...but good help nonetheless!