Results 1 to 9 of 9
  1. #1
    ajs112 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    14

    Replication ID's

    Hey guys,



    How would one link a replication ID as a foreign key within a different table as they aren't numbers and not quite text?!

    Thanks all!

    Anthony

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    What is a 'replication ID'?

    What is the field type?

    As long as the related fields are same data type - number to number or text to text or date to date (autonumber PK would be related to a number FK) - should work.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ajs112 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    14
    It's a PK autonumber field with characters in it and doesnt seem to translate as a FK to other field types? e.g. {00000002-0000-0000-0000-000000000000} or {78952ED3-C741-4B91-96AF-A14697DEC4EA}

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    AFAIK, Access autonumber field does not generate values with non-numeric characters. What is producing these values?

    Is this a split db? What is the backend?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    ajs112 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    14
    Its an option in a table's design view for the autonumber PK data type in the "LookUp" tab at the bottom, used in lieu of Long Integer.

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    I NEVER build lookups with alias in table. http://access.mvps.org/access/lookupfields.htm

    The value you see is not the actual value in the field. You see the 'alias'.

    I am not seeing any options on the Lookup tab for AutoNumber field.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    ajs112 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2014
    Posts
    14
    Ahhh, alrighty! Thanks for the information!

  8. #8
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664

  9. #9
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    Learned something new. Never even thought about this.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Access Replication
    By thomas.dahl in forum Access
    Replies: 0
    Last Post: 02-22-2013, 02:53 PM
  2. Replication
    By asearle in forum Access
    Replies: 0
    Last Post: 05-09-2012, 04:18 AM
  3. Replication ID Question
    By RayMilhon in forum Access
    Replies: 0
    Last Post: 12-29-2011, 11:44 AM
  4. Need help with replication
    By mephisto794 in forum Access
    Replies: 3
    Last Post: 08-02-2010, 08:22 AM
  5. Replication Lost
    By tak4 in forum Programming
    Replies: 0
    Last Post: 03-17-2010, 11:55 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