From: Marsh on 8 Apr 2010 08:44 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
From: Daniel Pineault on 8 Apr 2010 08:59 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. "Marsh" wrote: > 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
From: BruceM via AccessMonster.com on 8 Apr 2010 10:33 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 Marsh wrote: >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 -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-gettingstarted/201004/1
|
Pages: 1 Prev: Checking user's credentials Next: Search for Words in Attached Documents |