2) The message prompt should be - "Are you sure you want to delete the record?"
(this should be a question with a question mark at the end)
3) Record should be deleted when the user clicks on "Yes". This is not happening.
The user gets a message box saying "Record Deleted !" - the record is still not deleted
unless the user clicks "ok" on the next message prompt.
If the user clicks on the X on the top the second message box, the message box
closes but record is not deleted. I think the code to delete the record is under the "OK" button
of the second prompt.
1) Change the buttons to "Yes" and "No"
2) The message prompt should be - "Are you sure you want to delete the record?"
(this should be a question with a question mark at the end)
3) Record should be deleted when the user clicks on "Yes". This is not happening.
The user gets a message box saying "Record Deleted !" - the record is still not deleted unless the user clicks "ok" on the next message prompt. If the user clicks on the X on the top the second message box, the message box closes but record is not deleted. I think the code to delete the record is under the "OK" button of the second prompt.