AutoNumber Field Reset

G

Guest

I need to reset the Autonumber back to zero. Currently I have to delete a
relationship, open the table change the column from autonum to number, save
the change, change the column back to autonumber, save that change, and then
recreate the relationship.
 
A

Allen Browne

After deleting the data, try compacting the database.

If that does not work, go to support.microsoft.com, the Downloads section,
and get SP8 for JET 4.
 
J

Joseph Meehan

BCP said:
I need to reset the Autonumber back to zero. Currently I have to delete a
relationship, open the table change the column from autonum to number,
save
the change, change the column back to autonumber, save that change, and
then
recreate the relationship.

Normally all you need do is to compact the database.

Note:

I suggest you may not want to use Autonumber for that use. Autonumbers are
designed to provide unique numbers. It in not designed to provide numbers
in order and for a number of reasons may not do so. As a result using them
in any application where the user sees the numbers is likely to end up with
confusion.

There are other ways of providing the numbers you want depending on the
particual application.
 

Ask a Question

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.

Ask a Question

Similar Threads


Top