How to reset record ID number to zero ?

  • Thread starter Thread starter tmb
  • Start date Start date
T

tmb

Is there a way to get MS Access to reset the record ID number to zero?

I've been testing a data base and want to reset the order id number to zero.

The products and other data are already in the data base in other tables, so
it is too late to have kept a copy with all rec id nums set to zero.

thanks for any help.
 
Compact the database.

Of course, it shouldn't really matter whether the numbers start at 0.
 
tmb said:
Is there a way to get MS Access to reset the record ID number to zero?

I've been testing a data base and want to reset the order id number
to zero.
The products and other data are already in the data base in other
tables, so it is too late to have kept a copy with all rec id nums
set to zero.
thanks for any help.

I assume you mean an autonumber field.

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

Back
Top