Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

autonumber is not unique 1

Status
Not open for further replies.

mrMika

Programmer
Jun 17, 2003
34
CA
I have a table that uses an autonumber that is indexed and unique. However, when a new record is added the number generated is not unique which then causes an error. Any ideas?
 
Thanks for the tip.

Have you heard of this same problem occuring in Access 2000?
 
thank you both for your input.

The strange thing about this is that the number that is being generated is far from the being the highest. For example if there were 100 records the autonumber might generate 25 or 50 instead of 101.

Somehow there seems to be some sort of corruption in the db that none of my old tricks have been able to resolve.

I have tried Roys solution and it does work for a time but but the problem comes back later on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top