Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSG BOX to confirm delete record

Status
Not open for further replies.
May 13, 2008
24
US
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
 
What is your actual code ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top