J
Joachim
Is there a way to reset the value of the automatic counter type field in an Access 97 database or do you have to recreate the whole table?
an Access 97 database or do you have to recreate the whole table?Joachim said:Is there a way to reset the value of the automatic counter type field in
Is there a way to reset the value of the automatic counter type field in an Access 97 database or do you have to recreate the whole table?
In A97, you can delete all the records in the table, and Compact the
database to reset the autonumber to 1. This reset won't work in later
versions, though.
In A97, you can delete all the records in the table, and Compact the
database to reset the autonumber to 1. This reset won't work in later
versions, though.
Actually, John, I use this technique in A2K2 successfully all the time!
John Vinson said:Ok, maybe I was dreaming about seeing that change while reading
newsgroups... not too surprising considering how much time I spend
here! Does Compacting also bring the next autonumber to one more than
the highest existing value? (you can see how often I look at
autonumber values)
Compacting after deleting some records does not restore autonumber to start
with the next available number.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.