Results 1 to 3 of 3
  1. #1
    jdvd is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2011
    Posts
    3

    Consecutive ID numbers

    Hi there,

    I have created a database which seems to be working ok. When I create new entries, access automatically assigns ID numbers. However, when I delete entries, the ID disappears and the next entry jumps an ID number.

    Basically I want all my entries to have consecutive numbers for practical purposes. How can I do this? :/



    I can't manually change ID number because it's part of the autonumber feature(i think!). Is there any way of recalibrating/adjusting ID numbers?

    TY

  2. #2
    jdvd is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2011
    Posts
    3
    Hmm, thought of a solution

    (for those interested, just changed input from autonumber to number and then entered manually. Pretty easy!)

  3. #3
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by jdvd View Post
    Basically I want all my entries to have consecutive numbers for practical purposes.

    I can't manually change ID number because it's part of the autonumber feature
    FYI......

    The Autonumber field type is simply a way to create a unique identifier for each record. It should NEVER be treated as a meaningful piece of data.

    Autonumbers are not guaranteed to be sequential, or even positive.

    If you need to have consecutive numbers, you have to create and manipulate the numbers yourself. You will need to create a sequence number that you increment yourself and apply to the record when it is saved. (You can still keep the autonumber field to provide a unique identifier)

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 11-29-2011, 08:43 AM
  2. Replies: 4
    Last Post: 10-18-2011, 03:46 PM
  3. Comparing consecutive weeks data
    By foamcows in forum Queries
    Replies: 1
    Last Post: 08-16-2011, 08:20 PM
  4. multiple records with consecutive dates
    By sotssax in forum Forms
    Replies: 2
    Last Post: 07-26-2011, 04:23 AM
  5. Replies: 38
    Last Post: 05-21-2010, 11:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums