Results 1 to 3 of 3
  1. #1
    spyldbrat is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2015
    Posts
    73

    Joining TwoTables

    Hello,



    I have two tables with similar field names. The data output of both tables are the same but the field names may vary. In each table the data outputs that display are: Client, WO#, Biller, Status. I was wondering if I can somehow merge these two tables so that all Clients from both tables displays in the same column, all WO#'s display in the same column, etc - so when all is said and done, I have a total of 4 columns. Can this be done? If yes, can you tell me how? I am very beginner with Access and don't always understand the terminology so please be easy on me with your terms...

  2. #2
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,165

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,127
    A UNION query will give you the records from both tables in one query.
    However it won't merge the tables and you will still need to keep both of them.

    If you want to merge them so all the data is in one table, use an APPEND query to add the records from one table to the other
    It doesn't matter if the field names are different as long as the datatypes are the same for the corresponding fields in both tables
    After running the APPEND query and checking the results are OK, you can then delete the second table
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. Joining a Union
    By TheSQLWasBetter in forum Queries
    Replies: 2
    Last Post: 06-21-2018, 04:58 PM
  2. Joining
    By Perfac in forum Queries
    Replies: 7
    Last Post: 03-03-2018, 06:03 AM
  3. Joining tables help
    By grewpar in forum Access
    Replies: 7
    Last Post: 10-07-2014, 12:11 PM
  4. DB templates Joining
    By engr in forum Access
    Replies: 1
    Last Post: 11-04-2013, 08:50 AM
  5. Help - Joining Tables..
    By fabian24 in forum Forms
    Replies: 3
    Last Post: 02-17-2011, 03:43 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