Deleting records in a recordset

Results 1 to 2 of 2

Thread: Deleting records in a recordset

  1. #1
    Bill Sunderland Guest

    Default Deleting records in a recordset

    Trying to create a "Delete" button that will allow me to delete a record from a recordset that has (userid and password). Question: Can I access the button object? I have tried the following with no success: if Request.Form ("button1") &#060;&#062; "" then<BR>perform some action. <BR><BR>Any help would be greatly appreciated<BR>Bill

  2. #2
    hinge Guest

    Default RE: Deleting records in a recordset

    ######## Page1 #############<BR>&#060;Form aciton="page2.asp" Method="post"&#062;<BR>&#060;input type="submit" Name="Action" value="delete"&#062;<BR>&#060;input type="submit" Name="action" value="edit"&#062;<BR>&#060;/form&#062;<BR><BR>######## Page2 ############<BR>action = Request("Action")<BR><BR>if Action = "delete" then<BR>&#039delete recordset<BR>elseif action = "edit" then<BR>&#039edit recordset<BR>end if<BR><BR>

Posting Permissions

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