Duplicate records when sending SQL update statements

N

Nick

I have written a Java servlet that allows users to input
information on a form and submit it for storage in an
Access 2000 Database. The servlet uses Java's JDBC-to-ODBC
bridge driver to connect through the ODBC to the database.
On occasion, when users update the information that is
stored in a specific table, there will be two duplicate
records in the table. I have been unable to solve this
problem. Has anyone else encountered this? Please help!
 
L

Larry

-----Original Message-----
I have written a Java servlet that allows users to input
information on a form and submit it for storage in an
Access 2000 Database. The servlet uses Java's JDBC-to- ODBC
bridge driver to connect through the ODBC to the database.
On occasion, when users update the information that is
stored in a specific table, there will be two duplicate
records in the table. I have been unable to solve this
problem. Has anyone else encountered this? Please help!
.
Check the primary key field in you database. If you have
one then access will not let duplicates be posted
 

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