Results 1 to 3 of 3
  1. #1
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568

    Juntion table with a lot of different numbers as PK

    Hi,

    my TEST model looks like:

    Click image for larger version. 

Name:	Screenshot_13.png 
Views:	22 
Size:	110.5 KB 
ID:	33948



    And now in t_topotojunction table in TopoToJuntion_ID PK i have numbers not from 1 to 5 but 1, 125, 4, 6, 55

    When i created the model i inputed different data into tables and that is why i have different numbers as PK.

    And i am thinking it is possible to reset it (and all referencing tables like t_junction, t_cpuoffer) and have still good relationships?
    And if it is necessary or not?

    Best,
    Jacek

  2. #2
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by jaryszek View Post
    <snip>And now in t_topotojunction table in TopoToJuntion_ID PK i have numbers not from 1 to 5 but 1, 125, 4, 6, 55
    Don't take this wrong, but so what?
    Is "TopoToJuntion_ID" an Autonumber type field?
    Does it really matter what the value of the PK field is? If it matters, why is the field an autonumber type field?

    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,

    Autonumbers--What they are NOT and What They Are

  3. #3
    jaryszek is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    568
    Hi ssanfu!

    thank you !
    Hmm it doesnt matter and yes it is autonumber.

    You have right!
    Best
    Jacek

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

Similar Threads

  1. Replies: 12
    Last Post: 12-25-2015, 03:25 PM
  2. Replies: 5
    Last Post: 09-14-2014, 11:29 AM
  3. Replies: 8
    Last Post: 03-10-2014, 11:47 AM
  4. Replies: 4
    Last Post: 02-12-2012, 02:58 PM
  5. Numbers in a table
    By cathyspark in forum Access
    Replies: 1
    Last Post: 09-28-2011, 12:04 PM

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