shadow9449
Registered User.
- Local time
- Today, 05:59
- Joined
- Mar 5, 2004
- Messages
- 1,032
A client of mine has been using his database for just over 2 years and encountered an error I've never seen before.
His table contains under 10,000 records. When he tried to create a new record, it assigned the ID (which is an autonumber) as 42. Of course that caused the error that there is duplication in the primary key and the changes could not be saved.
I compacted the database and the problem was not solved. What I did was copy and paste the table under a temporary name, delete the table, and then rename the temporary table with the original table's name.
My solution worked fine and saved the day. But I'm wondering if anyone has seen this problem before or knows what caused it. I'm concerned that it might reoccur.
Thanks
SHADOW
His table contains under 10,000 records. When he tried to create a new record, it assigned the ID (which is an autonumber) as 42. Of course that caused the error that there is duplication in the primary key and the changes could not be saved.
I compacted the database and the problem was not solved. What I did was copy and paste the table under a temporary name, delete the table, and then rename the temporary table with the original table's name.
My solution worked fine and saved the day. But I'm wondering if anyone has seen this problem before or knows what caused it. I'm concerned that it might reoccur.
Thanks
SHADOW