Results 1 to 5 of 5
  1. #1
    BADebbie is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    33

    Two tables for one query.


    I have two tables. One has the name of the person, and the other table has the date of a training. When I bring the two queries together, I need to know who has NOT taken the training. My query does not show this, only the ones who have. What can I do to find out who hasn't?

  2. #2
    BADebbie is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    33
    Sorry. When I bring the two tables together in a query, they don't show who has not taken the training.

  3. #3
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    What are the field names for each table. Have you tried using the Unmatched Query Wizard.

  4. #4
    BADebbie is offline Advanced Beginner
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    33
    tblEE has EEID, LastName, FirstName
    tbleLunches and Other Dates - Accident Training Date.

    I have not tried that query. Mostly because I don't know what it is.
    It might not be possible, but can't I just bring all the fields together and put in the date they took the Accident training?

  5. #5
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The unmatched query is produced by using the Query Wizard. It will ask for the two table names and which field you are using to link them together.

    To do it yourself in query design, link the two tables, right-click on the join line and select the option for all tables from table 1 whether there is a matching value in table 2 or not. Then add a criteria of Is Null for the key field in table 2. This will give you all records in table 1 that don't have a matching record in table 2.

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

Similar Threads

  1. Replies: 4
    Last Post: 08-24-2016, 06:48 AM
  2. Replies: 2
    Last Post: 02-05-2014, 09:27 AM
  3. Replies: 3
    Last Post: 01-20-2014, 09:04 AM
  4. Four Tables, 1 Query
    By athyeh in forum Queries
    Replies: 14
    Last Post: 10-09-2013, 03:17 PM
  5. Replies: 3
    Last Post: 01-05-2012, 12:04 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