Results 1 to 2 of 2
  1. #1
    Dhan119 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2017
    Posts
    1

    Get unique data from 2 tables


    I receive weekly reports with same columns.. I need to extract the differences from both tables. Essentially this is an HR roster and I need to determine the new additions for this week along with extracting any other changes in the 2 roster's on any of the other columns.. There are over 40 columns but I need to get any changes in 6 or so columns along with getting any new record.

  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    Did you try the Unmatched Query Wizard (as long as the new and old sources contain a field with the same data)? I guess that can't be an employee id if you're trying to find new people, but something else could be similar. I realize the wizard only provides for 4 fields, but I'm pretty sure I've started with that in the past and got something working, then edited the sql to simply add fields. You may have to combine an unmatched query/queries with UNION queries. I believe the individual queries that make up the UNION query are able to make use of the unique values or unique records property as well, which is something you might have to incorporate.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 43
    Last Post: 01-20-2018, 07:27 PM
  2. Matching 2 tables with no unique fields
    By ernest_rhaniel in forum Queries
    Replies: 15
    Last Post: 03-21-2017, 11:28 PM
  3. Unique ID across all tables
    By neo651 in forum Database Design
    Replies: 24
    Last Post: 02-20-2012, 09:44 PM
  4. Replies: 4
    Last Post: 08-01-2011, 04:24 PM
  5. Unique Record Identifier for MS SQL Server Tables
    By MGSP in forum Import/Export Data
    Replies: 2
    Last Post: 01-29-2006, 03:00 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