Results 1 to 3 of 3
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Why do double, triple, joins....

    What is the purpose or the advantage to doing more than one join between two tables? How many joins can you have between two tables?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Are you talking about composite keys? Join as many fields as it takes to define unique identifier. Not sure if there is a maximum - other than 255 because can't have more than 255 fields in table or query.
    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
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725
    Your question lacks context. Can you give an example with specific questions? It isn't clear to readers if you are talking about compound/composite index, or primary keys.

    Here's a comment, but I'm not sure it deals with what you are asking.
    I'm not a big fan of composite PKs, especially when you will need to join with other tables.
    I prefer single field surrogate PK and then unique, composite index on those fields to prevent duplicates.

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

Similar Threads

  1. Triple Exclude / "Unmatched" Query | Access 2010
    By DavidMichaelangelo in forum Queries
    Replies: 4
    Last Post: 04-17-2014, 03:43 PM
  2. Triple many to many relationship
    By fabiobarreto10 in forum Database Design
    Replies: 0
    Last Post: 04-30-2012, 02:10 PM
  3. Triple nested queries
    By niculaegeorge in forum Queries
    Replies: 5
    Last Post: 07-25-2011, 07:04 AM
  4. Triple primary key
    By snoopy2003 in forum Database Design
    Replies: 1
    Last Post: 02-23-2011, 09:18 AM
  5. Triple State checkbox scroll order
    By lfox in forum Forms
    Replies: 7
    Last Post: 06-26-2010, 08:19 AM

Tags for this Thread

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