Results 1 to 2 of 2

Thread: deleting emails from access database

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539

    when you hit submit button..

    after you hit submit..
    send it to another asp, via request.form("name")...

    in the second asp (where the form is sending information)
    catch the parameters being sent in (email and name)
    and do a search with sql something like
    Code:
    EmailAddy = request.form("EmailAddress")
    SQLstatment ="SELECT * FROM EmailList WHERE EmailAddress = '" & EmailAddy & "'"
    rs.open SQLstatement, db
    if rs.eof then
       response.write "Email Address not found in database.."
    else
       response.write rs("EmailAddress") & " " & rs("Name")
       'put a delete link here.. when they hit that link, either send them to another page where delete happens, or withing the asp page write a function to do the deleting...
    end if

  2. #2

Posting Permissions

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



Click Here to Expand Forum to Full Width