View Full Version : Reset AutoNumber


rklchow
12-18-2001, 06:30 AM
How do I reset the autonumber field back to Zero?

saintsman
12-18-2001, 06:48 AM
In your table design, delete the autonumber field and then put a new autonumber field in. This will automatically start from zero and fill in the subsequent numbers.

rklchow
12-19-2001, 06:31 PM
What if i want the same field name with the autonumber reset back to zero?

jereece
12-19-2001, 08:18 PM
Set the field type from auto number to just number, save the database, then change the field type back to auto number and save. This resets the counter.

boblarson
12-19-2001, 09:36 PM
Also, if there is no data in the table at the time, running Compact Database will reset it too.

I have a table where I need it to start over each month. I delete all of the records, compact the database, and then import into the table.

BL
hth