autonumber

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

Guest

When I add a new record to a table that has an autonumber I get 230096957
instead of 3467 which is the next number to be assigned. I though maybe they
got a virus. Any suggestions?
 
Autonumbers are only meant to provide unique numbers, not sequential ones.
You should not rely on an autonumber to mean anything other than to be a
unique number to identify a record and to make it easier to join and to
search tables.

"Problem with autonumber" <Problem with
(e-mail address removed)> wrote in message
news:[email protected]...
 
Problem said:
When I add a new record to a table that has an autonumber I get
230096957 instead of 3467 which is the next number to be assigned. I
though maybe they got a virus. Any suggestions?

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.

I might add that you may want to do a repair and compact of your
database at this time.
 

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

autonumber queestion 3
AutoNumber Field Broken: How To Fix? 9
Add autonumber to a large table? 0
Autonumbering Query 1
Autonumber Drastic Increase 4
autonumbers 3
Autonumber random becomes scientific 7
Autonumber 7

Back
Top