Autonumber numbers

M

Marsh

Is there a way, in a new Access 2007 database, to start the numbers of an
Autonumber field at a number other than 1? It would be very convenient for
us to start at 10001.

Marsh
 
D

Daniel Pineault

An autonumber field is not supposed to be used as a user's numbering system.
If you want to have a numbering system, then you should create it by creating
a number field and applying your math and logic to it. This way you can
start it at whatever number you wish and can control number issuing... But
as far as an autonumber is concerned... you are relying on something in a way
you should not be.
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
 
B

BruceM via AccessMonster.com

Allen Browne has a way of doing this:

http://allenbrowne.com/ser-26.html

I will elaborate on what has already been posted in this thread. You will
almost surely be disappointed if you are counting on a predictable autonumber
sequence that will be seen by the viewer. The sequence will have gaps. It
is almost impossible to prevent this. If you need an incrementing number you
should roll your own, but not with an autonumber field. More here:

http://www.rogersaccesslibrary.com/forum/topic395.html
 

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