Amend and Delete Function

Results 1 to 2 of 2

Thread: Amend and Delete Function

  1. #1
    Join Date
    Dec 1969

    Default Amend and Delete Function

    Hello All<BR><BR>Wondering if anyone could help me? <BR><BR>I have created a form which pulls an employees details from a previous form, I would like the user to be able to amend or delete that emloyee via buttons. I am using this function for the delete<BR><BR>function Delete()<BR>{<BR>location = "mypage.asp?ID=" + document.form1.H1.value ;<BR>}<BR> and then use the onclick function to run the above<BR><BR>is there any other way that it can be done?<BR><BR>Help would me appreciated.

  2. #2
    jeps0 Guest

    Default RE: Amend and Delete Function

    Make it a submit button and get the employee ID from a hidden input. Then after clicking you can do a DELETE FROM table WHERE ID = " & request.form("ID")<BR><BR>/ jeps0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts