AutoNumbers duplicating

  • Thread starter Thread starter Adam O'Neil
  • Start date Start date
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.
 
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.
 
Back
Top