| |
funkdrmr
Posts: 1
Score: 0
Joined: 10/24/2005
Status: offline
|
Hi everyone. I know this can't be too hard of a question, but I'm really new with ASP and I've been searching to no avail on this problem for the past couple of hours already. I have a form on a website where people can sign up for a mailing list. The database is named mailinglist.mdb, the table the data goes to is BOOK1. Everything works great as far as getting the data into the database (Access). What I would like to do, is keep people from signing up multiple times with the same email address. I have an "EMAIL" field in the db that I made a primary key, and this really does exactly what I want it to...preventing the duplicate entry. However, it spits out the following error. Microsoft OLE DB Provider for ODBC Drivers error '80040e2f' How can I change this so the user sees something like "The email address you have entered has already been registered. Please try another", and where in my code do I need to place it? Thanks in advance for any help.
|
|