Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I reset autonumber field in access 2003?

share|improve this question

A quick "totu" here with few ways to reset it. From Microsoft KB:

"I can't paste it here since it's in french for me"... sorry!

share|improve this answer

Use the "compact and repair" process. This will reset the auto increment back to 0 (for empty tables that is). If the table is still populated with records you don't want to reset the counter i think...

It can be found under: Tools >> Database Utilities >> Compact and Repair Database

share|improve this answer
It resets it only on an empty table and resets it to 1, not 0. – David W. Fenton Mar 11 '10 at 13:18
@David are you sure about that. I am pretty sure it stores the current maximum ID. When a new row is added it will be maxid+1. If the value that was stored was 1 for a new/clean table then the first ID that gets assigned would be 2. – Zoredache Mar 18 '10 at 23:17
It does not store the current max but the next value, i.e., the Seed value. The seed value never resets to 0 unless you do it in code. – David W. Fenton Mar 19 '10 at 22:52

If you are having index problems or wish to reset an autonumber seed to a sepcific value for unusual reasons see Set AutoNumbers to start from ...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.