Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to reset an Auto Number to ZERO 2

Status
Not open for further replies.

sylvain

Technical User
Mar 20, 2001
39
CA
I have a database that i want to restart, how can i reset my autonumber field to Zero???

Thanks for you help
 

simplest way off top of head would be to simply drop and then add the column again ..
Ben
+61 403 395 052
 
Allo Sylvain,
Make a copy of your table "structure only". take a look at it (well, it will be ready to start at 1) and then if you have data, run an Append query in to the copy for every field except the AutoNumber. :) Gord
ghubbell@total.net
 
You can drop the autonumber column and add it again. John Fill
 
Done!!!!

Thanks all for your help

ghubbell tips works perfectly...

s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top