Results 1 to 4 of 4
  1. #1
    TINMAN is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Mar 2019
    Posts
    64

    Trouble Linking two simple tables

    This senior citizen is having trouble linking two simple tables to get the desired results. I am a self taught user to hasn't used Access for awhile. I am trying to set up a database to track March Madness (NCAA Basketball Tournament) bracket results.



    I have one table which just represents a column of games as shown on the brackets. This table has two fields which pull down the names of the teams from another table using a drop down menu. For some reason my drop down fields for team number appears different in the games table. What am I doing wrong? I want the team names to show up - Gonzaga and Georgia State and not 1 and T02 in the games table.

    I have attached the database for your review. Keep in mind I am self taught user and very very rusty.
    Attached Files Attached Files

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    SELECT Games.[Game Nbr], Team1.[Team Name], [Team Name_1].[Team Name]
    FROM (Games INNER JOIN [Team Name] AS Team1 ON Games.TeamNameNbr01 = Team1.[Team Nbr]) INNER JOIN [Team Name] AS [Team Name_1] ON Games.TeamNameNbr02 = [Team Name_1].[Team Nbr];
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Here is an alternative method. Removed the look up FIELDS and created a form.
    Attached Files Attached Files

  4. #4
    TINMAN is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Mar 2019
    Posts
    64
    Thank you for your response. It definitely does what I want to accomplish. After I submitted the post I remembered they do not recommend using a lookup field in a table. I also saw on line they recommended a form as you have done. It is nice to learn something new. Again thanks.

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

Similar Threads

  1. Having trouble linking Access tables
    By snowboarder234 in forum Forms
    Replies: 1
    Last Post: 12-01-2016, 01:38 PM
  2. Trouble linking queries
    By djclinton15 in forum Queries
    Replies: 2
    Last Post: 01-04-2016, 07:01 PM
  3. Trouble linking records
    By kruseanderson in forum Access
    Replies: 9
    Last Post: 04-16-2013, 06:12 PM
  4. Replies: 0
    Last Post: 03-04-2011, 10:28 AM
  5. Trouble linking a table to a query
    By wtubell in forum Queries
    Replies: 1
    Last Post: 03-26-2009, 06:34 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