Results 1 to 6 of 6
  1. #1
    Dean0_53 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    30

    Concatenate Like Fields

    Hello,

    I have two tables I would like to combine into one table in an Access report. The problem is there isn't a like join between the two. The only difference between the two tables is one table grad students and the other is undergrad students for a specific term, but they are very limited by major or program within each table. I have created two make-tables for each, but how can I combine them both into one large report or table?



    Thanks
    Deano

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,915
    So you don't want to JOIN because they are not related. Sounds like you need UNION query.

    Why weren't they one table to begin with? Could have another field to indicate "Grad" or "UnderGrad".
    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
    Dean0_53 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    30
    June7,

    I'm not very familiar with Union Queries. I have attached a sample database. There were not in one table to begin with because the students are two different levels. UG and GR. Also their major are different so I can't use that data to make a like join.

    Thanks,
    Attached Files Attached Files

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,915
    No file in the Zip folder.

    If the tables have the same fields, then a single table can certainly be constructed. Just have another field that identifies as 'GR' or 'UG'.

    Again, you don't want to JOIN these datasets, that would make no sense. You want to merge - that is a UNION query. UNION query essentially builds the dataset that should be a table to begin with.

    Different majors has no bearing on the issue.
    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.

  6. #6
    Dean0_53 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2017
    Posts
    30
    Quote Originally Posted by June7 View Post
    No file in the Zip folder.

    If the tables have the same fields, then a single table can certainly be constructed. Just have another field that identifies as 'GR' or 'UG'.

    Again, you don't want to JOIN these datasets, that would make no sense. You want to merge - that is a UNION query. UNION query essentially builds the dataset that should be a table to begin with.

    Different majors has no bearing on the issue.


    I was able to get this to work with a Union. Completely forgot about trying that.

    Thanks!

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

Similar Threads

  1. How to concatenate 3 fields?
    By nicoboss in forum Access
    Replies: 9
    Last Post: 11-22-2017, 11:04 AM
  2. How to concatenate fields
    By aparnawangu in forum Access
    Replies: 1
    Last Post: 10-28-2015, 01:03 AM
  3. Fields Concatenate insted of Add
    By modum in forum Queries
    Replies: 3
    Last Post: 02-12-2014, 04:17 PM
  4. Concatenate two fields
    By buckwheat in forum Access
    Replies: 8
    Last Post: 06-28-2013, 07:06 AM
  5. Concatenate Fields
    By Njliven in forum Forms
    Replies: 9
    Last Post: 12-21-2012, 08:31 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