Results 1 to 4 of 4
  1. #1
    DerekKerr is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Aug 2017
    Location
    San Remo NSW
    Posts
    1

    Autonumber

    The id is a unique key Autonumber field say ID 25 out of say 3000, when appended to another table with identical fields and then appended back to original table, the original table next ID becomes 26 and not 3001.

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,535
    I don't understand your problem
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,411
    autonumber only guarantees a unique number, not a consecutive one

    by appending the original table autonumber field with a value which is not already there, it is unique, so accepted.

    Not sure if the autoincrement will recognise that the 'next' number already exists (eg. on 3000, so tries to increment to 3001) it may or may not, you would need to experiment.

  4. #4
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    FYI stuff...

    AutoNumber
    --------------
    Purpose Use an AutoNumber field to provide a unique value that serves no other purpose than to make each record unique. The most common use for an AutoNumber field is as a primary key, especially when no suitable natural key (a key that is based on a data field) is available.


    Autonumbers--What they are NOT and What They Are
    http://www.utteraccess.com/wiki/Autonumbers

    Microsoft Access Tables: Primary Key Tips and Techniques
    http://www.fmsinc.com/free/newtips/primarykey.asp

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

Similar Threads

  1. Replies: 7
    Last Post: 08-28-2017, 02:50 PM
  2. autonumber
    By Dave_D in forum Queries
    Replies: 2
    Last Post: 12-27-2016, 10:27 AM
  3. autonumber
    By kelvinkind in forum Access
    Replies: 1
    Last Post: 06-26-2014, 10:24 PM
  4. Replies: 4
    Last Post: 11-21-2013, 05:06 PM
  5. AUTONUMBER
    By J A F F A in forum Database Design
    Replies: 1
    Last Post: 10-03-2007, 10:30 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