Results 1 to 4 of 4
  1. #1
    mgarret is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    8

    Dropping rows where values match in two tables

    Hi all—

    I’m a little new to access queries so any assistance is greatly appreciated.

    I have two queries. There is the filed “child name” in both. I need a new query that drops all the rows in which the value in “child name” is the same in both.

    Here is an example:

    Query 1 Child Name
    Matt Jones
    Matt Jones
    Matt Jones
    Matt Jones
    Matt Jones
    Katie Smith
    Larry Roberts
    Larry Roberts
    Larry Roberts
    Larry Roberts
    Larry Roberts
    Nick Peets
    Robert Doge

    Query 2 Child Name
    Matt Jones
    Matt Jones
    Matt Jones
    Larry Roberts
    Larry Roberts
    Larry Roberts
    Larry Roberts
    Nick Peets
    Nick Peets
    Nick Peets


    Thanks so much!


    Final Product

    Katie Smith
    Robert Doge

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Do the name appear more than once in a table?
    We would need to see you table structure.

    Dale

  3. #3
    mgarret is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    8
    Hi. yes, they appear more than once in both tables. Is that enough info?

  4. #4
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    We would need to see you table structure.
    I would like to see why they are appearing more than once in your tables.
    I am thinking you may need to restructure your tables a bit. (Normalize)

    Dale

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

Similar Threads

  1. Dropping/deleting linked tables in VBA or query
    By dumbledown in forum Access
    Replies: 3
    Last Post: 04-05-2012, 08:43 AM
  2. Replies: 2
    Last Post: 08-28-2011, 06:06 AM
  3. Replies: 0
    Last Post: 07-26-2011, 02:03 PM
  4. Cannot match same data in different tables
    By jitendrakalyan in forum Queries
    Replies: 3
    Last Post: 11-22-2010, 12:26 PM
  5. Replies: 1
    Last Post: 06-20-2007, 07:26 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