AutoNumbers duplicating

A

Allen Browne

HI Adam.

The service pack is supposed to prevent the problem from occurring. However,
the service pack does not reset the Seed of the Autonumbers if you already
have the problem.

There is code in this link that loops through your tables and resets the
Seed in any table where it is negative or below the maximum value:
http://allenbrowne.com/ser-40.html
If your database is split, run this in the back end.
 
A

Adam O'Neil

Allen, wow! Thanks.

Allen Browne said:
HI Adam.

The service pack is supposed to prevent the problem from occurring. However,
the service pack does not reset the Seed of the Autonumbers if you already
have the problem.

There is code in this link that loops through your tables and resets the
Seed in any table where it is negative or below the maximum value:
http://allenbrowne.com/ser-40.html
If your database is split, run this in the back end.
 

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