Thanks for the help/replies
This is what I did:
The form posts itself as:
-------------------------
<form name=MainFrm method="POST" action="usermaint.asp">
The delete button is:
---------------------
response.write("<input type='button' value='Delete'
name='Delete' onclick='deleteonclick()'>"
Another field to hold the result of the delete button
-----------------------------------------------------
response.write("<INPUT TYPE=HIDDEN NAME='deletemode' VALUE='false'>"
The onclick Script
------------------
<SCRIPT LANGUAGE="VBScript">
function deleteonclick()
x = MsgBox("Are you sure you wish to Delete this
User?",vbQuestion + vbYesno,"Title"

mainfrm.deletemode.value=x
if x=vbYes Then
deleteonclick=false
document.mainfrm.submit
end if
end function
</SCRIPT>
Then in my code, I check what the user pressed.
This shows the other buttons that could have been pressed
----------------------------------------------------------
if not isempty(request.form("Amend"

) and request.form
("Amend"

<> "" _
and not isnull(request.form("Amend"

) then
amendfunction
else
if not isempty(request.form("New"

) and request.form
("New"

<> "" _
and not isnull(request.form("New"

) then
newFunction
else
' must have pressed delete
if cint(request.form("DeleteMode"

) = vbYes Then
deletefunction
end if
end if
end if
Thats IT!
Thought I'd share my conclusion to you all.
Please tell me if this does not make sense (if you are interested at all) or if anyone has a better way of doing it.
Thanks
ITFlash