how to start counting from 1 after erase table in access ?

E_Gold

Registered User.
Local time
Today, 13:23
Joined
Sep 18, 2010
Messages
26
hi

i have table in access that has an automatic counting in field `ID`

after some insert rows the `id = 200`

i delete the table

i try to insert a new row - and i see that the id start with `201`

how i can force the `id` to start with `1` (without drop the table and make new)

thanks in advance
 
If you simply want to get rid of test data in a table that has an autonumber in it and want it restart numbering at 1 again, then all you need to do is to delete all the records then run a compact and repair. This will reset the autonumber from 1 again.
 

Users who are viewing this thread

Back
Top Bottom