Results 1 to 5 of 5
  1. #1
    qwerty is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    91

    Relating Tables

    I got my location relationship working properly now. With the list of cities appearing under the right areas. The dilemma is i have species I would like to create a relationship with the cities. The species need to be appear under the cities. How do I go about this, without creating another cities in the species table?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Again, suggesting a junction table because this appears to be a many-to-many relationship.

    See your other threads:
    https://www.accessforums.net/showthread.php?t=74284
    https://www.accessforums.net/showthread.php?t=74274
    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
    qwerty is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    91
    it is one to many relationship, looks like i have some sort of key word in each table.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    I'm with June7. Presumably a city can have more than one species, and a species can be in more than one city. That's a many-to-many relationship and the suggested junction table is how to store that data.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716
    I agree with Paul and June -sounds like M:M.
    But you have said
    it is one to many relationship,...
    please tell us why you think/know this with some sample data.

    Good luck with your project.

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

Similar Threads

  1. Relating tables in a database
    By Lou_Reed in forum Access
    Replies: 1
    Last Post: 07-03-2017, 07:41 AM
  2. Relating Tables
    By Jabirali in forum Database Design
    Replies: 4
    Last Post: 12-06-2012, 03:59 AM
  3. Need help relating tables
    By LeahJB in forum Database Design
    Replies: 4
    Last Post: 02-15-2012, 08:37 AM
  4. Still struggling with relating tables
    By djclntn in forum Database Design
    Replies: 31
    Last Post: 02-14-2012, 02:08 PM
  5. Might someone help with relating some Tables?
    By djclntn in forum Database Design
    Replies: 20
    Last Post: 02-08-2012, 11:35 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