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?
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.