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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message box "Are you sure..."

Status
Not open for further replies.

meldrape

Programmer
May 12, 2001
516
US
I need some sort of safety net, or alert for my users when they want to delete a record. A hyperlink to "remove.asp" with a querystring with the user ID is what's being used. I need something on the remove.asp page just before the sql string to delete the record. Thoughts would be appreciated. thanks!!
 
Dim MyVar
MyVar = MsgBox ("Are you sure you want to delete selcection?", vbOKCancel)
if MyVar=1 then
exit sub
end if I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top