AUTONUMBER

B

Brian C

I was trying to add a first record to a table called
BOOKING with the primary key defined as AUTONUMBER. I made
a mistake because I needed to put a dummy record in
another table first so no record was added. However when I
then went into the BOOKING table to add the record it was
added with the field set to 2. ACCESS must be saving this
number somewhere and not reseting it if the record is not
added.

How can I reset this value so that the record when added
is given the value 1.

Thanks in advance.
 
S

Sally Green

Delete the record 2 so that you have no records left in
the table. Then compact the database. To do this choose
Tools / Database Utilities / Compant and Repair. This
will reset the autonumbering and you can start again.

Regards
SJG
 

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

Top