Results 1 to 5 of 5
  1. #1
    DAbbot is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2015
    Posts
    2

    Finding matches between two TABLES

    I have two tables inside the same db.



    Both tables have a field named "ACCOUNT NUMBER"

    I need to determine the records that match between the tables.

    Thanks.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Have you tried building a query? I would give the Query Wizard a try.

  3. #3
    DAbbot is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2015
    Posts
    2
    Well, that's my problem.

    In Query Wizard, I can build a "Find Duplicates" query from ONE Table, or a "Find Unmatched" from TWO Tables.

    I need a to find matches between two tables.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    This is usually done by creating a JOIN. If you use the query designer to create a new query object, you can add your two tables to the design surface. Create a join by dragging the name of one field from within one of the tables to a field name (could be the same field name as the first) in the other table. After you create your JOIN, you can double click the line that represents your JOIN to adjust its properties. I usually select the join with a single click before attempting a double click.

  5. #5
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    DAbbot,

    You should adopt/use a naming convention that does not use embedded spaces or special characters in field and object names. Use only alphabetic and underscore "_" characters. It will save you many syntax errors.

    As ItsMe said a Join or INNER JOIN is what you need.

    Good luck.

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

Similar Threads

  1. Query for not exact matches in two tables
    By FrankBone in forum Queries
    Replies: 1
    Last Post: 06-03-2015, 12:49 AM
  2. Replies: 8
    Last Post: 11-26-2014, 06:51 AM
  3. Replies: 1
    Last Post: 01-30-2013, 03:27 PM
  4. Finding similar names between two tables.
    By Laurie B. in forum Access
    Replies: 1
    Last Post: 07-15-2011, 03:21 PM
  5. Finding Tables
    By Rick West in forum Access
    Replies: 1
    Last Post: 01-06-2010, 10:41 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