Results 1 to 2 of 2
  1. #1
    jmany01 is offline Novice
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    3

    Table Relationships


    I can not seem to figure out how to go about doing this in Access, in Excel this would be extremely easy.
    I have two lists, one for mechanical parts and one for electrical parts. Both tables have some common fields, (i.e. part number, description) but also have a number of other fields that are not common (i.e. cable type, cable length). I would like to have a master table that lists all the parts from both tables along with the common fields. I need to keep the two tables separate because of how a variety of excel and visio files pull information from the different tables. I wouldn't be opposed to having a report of the two combined tables either. Any help for this access newbie would be greatly appreciated. I couldn't seem to find what i was looking for in the Access for Dummies book.

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    I wouldn't use a separate table, but you can use a UNION query:

    SELECT Field1, Field2
    FROM FirstTable
    UNION ALL
    SELECT Field1, Field2
    FROM SecondTable
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Table Relationships
    By carrod65 in forum Database Design
    Replies: 15
    Last Post: 04-04-2012, 09:22 AM
  2. Table Relationships
    By ledbyrain in forum Access
    Replies: 1
    Last Post: 09-07-2010, 05:05 PM
  3. Table Relationships
    By goestejs in forum Database Design
    Replies: 3
    Last Post: 08-23-2010, 07:39 AM
  4. Table Relationships
    By seanp in forum Access
    Replies: 2
    Last Post: 04-15-2010, 07:12 AM
  5. Table Relationships?
    By Meld51 in forum Access
    Replies: 3
    Last Post: 03-01-2010, 08:34 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