JohnnyPolite
MIS
Hello,
I have a page where a user can delete a record. I want to put a message box that confirms the deletion. I have it to the point where the msg box pops up, but it has no bearing on the delete record. Whether you hit ok or cancel, it still deletes the record. How do I act on the result of the message box to allow the delete SQL to occur or not?
Also, in the title of the msg box, it always has VBScript: before the title. Is there anyway to get around that as well?
I appreciate all the help in advance. I would know nothing if it weren't for forums like this.
-JP
I have a page where a user can delete a record. I want to put a message box that confirms the deletion. I have it to the point where the msg box pops up, but it has no bearing on the delete record. Whether you hit ok or cancel, it still deletes the record. How do I act on the result of the message box to allow the delete SQL to occur or not?
Also, in the title of the msg box, it always has VBScript: before the title. Is there anyway to get around that as well?
I appreciate all the help in advance. I would know nothing if it weren't for forums like this.
-JP