Why does my autonumbered field not start at 0?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a table and as all of the other fields could potentially have
repeats I am using a numbered ID as the primary key, this however is not
starting at zero it keeps starting at 22? Can anybody please help?
 
Laura,
If your table is empty, before adding any records to your table...
Compact the database.
Then the first record you enter should be 1.
 
Laura

If your Primary Key is used solely for identifying the record, does it
matter whether it starts at 1 or 22 or 12345?

Regards

Jeff Boyce
<Office/Access MVP>
 
Hi Jeff,

That's one reason for my frequent rant that Autonumber datatypes
should absolutely, positively be used for nothing but surrogate keys
and that they should never, never, never be seen by humans.
 

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