Results 1 to 3 of 3
  1. #1
    sylbaryn is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2018
    Posts
    4

    How to search for every field entry from one table to another

    Hi. I've had a look through the site but can't find an answer. I apologise if I'm just not looking up the right thing.

    If you could point me in the right direction I would be most grateful.

    OK, I have two tables. They contain different information but each has a first name, last name and date of birth field. I want to pull out the rows in each table where there's a cross table match of first name, last name and DOB.



    Any help would be much appreciated. Just point me in the right direction.

    Thank you

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    This is the type of query involved.

    Code:
    Select table1.*, table2.*
    FROM table1,table2
    WHERE 
    table1.FName = table2.FName AND
    table1.LName = table2.LName AND
    table1.DOB =table2.DOB
    I suggest you do NOT have spaces in field names.

    Good luck.

  3. #3
    sylbaryn is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2018
    Posts
    4
    That simple eh! I knew I was overthinking it. Thanks for your help. Much appreciated.

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

Similar Threads

  1. Replies: 1
    Last Post: 12-04-2016, 05:43 PM
  2. Replies: 3
    Last Post: 06-04-2015, 09:48 AM
  3. Replies: 1
    Last Post: 08-27-2014, 04:16 PM
  4. Search Field on entry form
    By Rhubie in forum Forms
    Replies: 7
    Last Post: 03-14-2013, 07:04 PM
  5. Replies: 3
    Last Post: 08-26-2011, 12:11 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