cdonts with asp/database record update

R

robert

I'm using access and FP 2000 to update records online, I'm trying to
find a/the code to update a record (NOT INSERT INTO) and send an email
confirmation, and I'm having a difficult time finding it. I've used FP
wizard to create the table display, and edit, but I cant program the
UPDATE page to both update the record and send an email confirmation.
I copied the code from an old CDONTS white paper from microsoft:

mySQL= "INSERT INTO Employees "
mySQL= mySQL & "(FirstName,LastName,Address,City,Region,PostalCode) "
mySQL= mySQL & "VALUES ('" & Request.Form("FirstName") & "','"
mySQL= mySQL & Request.Form("LastName") & "'"
mySQL= mySQL & ",'" & Request.Form("Address") & "'"
mySQL= mySQL & ",'" & Request.Form("City") & "','"
mySQL= mySQL & Request.Form("Region") & "','"
mySQL= mySQL & Request.Form("PostalCode") & "')"

And that works fine, it inserts and emails, but I want to send a
confirmation when an individual or administrator updates an individuals
record, and I CANT FIND ANYTHING! Please help, i'm new at this...not a
programmer but if you can recommend a tutorial I should be able to work
through it. Thanks in advance, the webserver is cdonts friendly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top