View Full Version : Resetting AutoNumber field???


daherb
09-15-2005, 03:28 AM
could someone please tell how i can reset an autonumber field to start from 1.

basically i have created a table and carried out a number of test with useless data. now that i have the table set up the way i want it and i have tested the queries etc i want to delete all the current data in the table and begin filling it with correct data. however i want my primary id to start from 1 which at the moment it doesn't because i have just deleted 50 records.

thanks in advance

Mile-O
09-15-2005, 04:06 AM
Delete all the records, then compact and repair the database.

daherb
09-15-2005, 07:10 AM
Thanks for that