Results 1 to 2 of 2
  1. #1
    jrosen12 is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2014
    Posts
    5

    Query to return name if no record found

    I'm going to try and explain this the best way I can. I'm not entirely sure this is possible, and I've been toying with it for a bit to try and get it to work...



    I have a table (tblTeamMembers) that has the fields: AuthorizerName and LastClassDate.
    I have another table created called (tblMeetingLog) with the fields: AuthorizerName, MeetingType

    I want to design a query that looks at tblTeamMembers compared to tblMeetingLog and only return the names from tblTeamMembers that do not appear in tblMeetingLog.

    For example:
    tblTeamMembers has "Test, Test" under AuthorizerName and LastClassDate of 12/1/2014
    tblMeetingLog has "New, New" under "AuthorizerName", and "Test, Test" does not appear on this table at all.

    I want it to just return the name "Test, Test" because it does not appear on tblMeetingLog.

    I hope that makes sense.

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Sure, it can be done. And Access has a built-in Query Wizard called "Find Unmatched Query Wizard" which will walk you through the process.

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

Similar Threads

  1. Replies: 3
    Last Post: 10-23-2013, 01:32 PM
  2. Replies: 9
    Last Post: 04-22-2013, 11:19 AM
  3. Form and query return different record sets
    By Daryl2106 in forum Access
    Replies: 3
    Last Post: 12-11-2012, 09:41 PM
  4. Return 0 if no records found
    By skwilliamson in forum Programming
    Replies: 1
    Last Post: 12-01-2009, 10:54 AM
  5. Return Record # In Query
    By redwinger354 in forum Access
    Replies: 1
    Last Post: 09-15-2007, 01:08 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