Results 1 to 5 of 5
  1. #1
    mks123's Avatar
    mks123 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    33

    How to Find Unmatched recored between two table


    Hi All,

    I'm trying to build query to extract unmatched records between two table by considering 4field.

    I know how to do get unmatched records for 1 field ----- Select statement with Not IN opt


    I can do by creating unique Id merging 4 field then above method, but Is there other way?


    here is info I have.

    Table A - F1 , F2 F3 F4

    Table B - F1 , F2 F3 F4


    Any help would be much appreciated.


    Regards,
    Mukesh

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    OUTER join will show you what is missing in 1 table yet in the other.

  3. #3
    mks123's Avatar
    mks123 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2014
    Posts
    33
    can you show me.

  4. #4
    rdougherty is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Dec 2016
    Location
    Michigan
    Posts
    107
    I typically create a temp field on the table with less data, and then run an update query marking all of the matches, and then export all of the non-matches via a new query. there might be a better, more concise way.

  5. #5
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Simply use the Unmatched Query Wizard. It will only do it on a single join field, but after it is complete, simply open up the Query in Design View, and manually join the other three fields by clicking and dragging them from one table to the other. Make sure that the arrows on those joins are pointing in the same direction as the original join that was set up. If they aren't, simply double click on the line and change the join (if it is on the 2nd option, change it to the 3rd; if it is on the 3rd option, change it to the 2nd).

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

Similar Threads

  1. Replies: 4
    Last Post: 03-09-2018, 10:54 AM
  2. Replies: 3
    Last Post: 09-22-2014, 01:53 PM
  3. Replies: 7
    Last Post: 01-08-2014, 06:03 PM
  4. Multiple Find Unmatched
    By dr4ke1990 in forum Queries
    Replies: 13
    Last Post: 11-08-2013, 10:41 AM
  5. Replies: 1
    Last Post: 12-08-2011, 01:52 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