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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Number

Status
Not open for further replies.

Dickx

Technical User
Aug 24, 2001
33
US
How do you reset an Auto number field back to record 1
 
One way is to delete all the records in the table and then compact the database. Both of these can be done from VB code.



Bob Boffin
 
if you want to keep all the records, copy the table (STRUCTURE ONLY). then write an append query to append all of the orig table fields to the new table EXCEPT for the autonumber field.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top