this may end up confusing both of us......:)
if you have two forms you would have something like this
<form name=frmONE action=newpage.asp method=post>
<input type=text name=oneFirstName>
<input type=text name=oneLastName>
<input type=submit value=submit>
</form>
<form name=frmTWO action=newpage.asp method=post>
<input type=text name=FirstName>
<input type=text name=LastName>
<input type=submit value=submit>
</form>
when you hit the input box, only the data from that form will be sent to newpage.asp so if
frmONE submit is clicked only oneText and oneText2 values will be sent to the newpage.asp page.
you can see i have named the examples the same except for the form NAME. If you only want
one form on your page you can determine what the action will be on newpage.asp by passing in the
querystring something like this
newpage.asp?action=delete
newpage.asp?action=update
newpage.asp?action=whatever you want to do.......
you can do something like this on newpage.asp
dim action
action=request.querystring("action")
if action = "delete" then
cn.Execute("delete....
elseif action ="update" then
cn.UPdate("update....
end if
ect.....
you can also use javascript on page one to change the ACTION of the form.
so instead of having one submit button. you have two buttons like this
<input type=button onClick="javascript:yourFunction();">
and your funcion could look something like this:
<script>
function yourFunction()
{
document.frmONE.action=newpage.asp?action=delete
document.frmONE.submit();
}
</script>
make sense?
if the way you are doing it works though, go with it......