autonum re-setting

N

NJS

Good day people.
does anyone know why an autonum field suddenly starts re-using numbers that
were deleted long ago? This table has 9000 records, the first 4000 were
deleted, and all worked fine for years. Then suddenly the system strated
re-using the first 4000?
thank you.
 
A

Allen Browne

There was a problem with an earlier version of JET (usually Acess 2000)
doing this. The problem has been fixed in the service pack. Download SP8 for
JET 4 from:
http://support.microsoft.com/gp/sp

That will prevent the problem recurring, but it won't solve your existing
problem. To do that, copy and run the code from this article:
Fixing AutoNumbers when Access assigns negatives or duplicates
at:
http://allenbrowne.com/ser-40.html
 
N

NJS

Good on you mate!

Allen Browne said:
There was a problem with an earlier version of JET (usually Acess 2000)
doing this. The problem has been fixed in the service pack. Download SP8 for
JET 4 from:
http://support.microsoft.com/gp/sp

That will prevent the problem recurring, but it won't solve your existing
problem. To do that, copy and run the code from this article:
Fixing AutoNumbers when Access assigns negatives or duplicates
at:
http://allenbrowne.com/ser-40.html
 

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