Results 1 to 2 of 2
  1. #1
    jlgray0127 is offline Competent Performer
    Windows 7 64bit Access 2003
    Join Date
    Oct 2011
    Location
    Central Illinois
    Posts
    185

    Query and unmatched records

    I am building a query.
    I am looking at one table. There are 3 columns I am looking at. They are Top_LVL_IDENT and LOWER_LVL_IDENT and LOC.
    I have multiple top levels, which can come across this line (or LOC, if you will), and will consume the LOWER_LVL_IDENTS. The LOWER_LVL_IDENTS can go into multiple TOP_LVL_IDENTS, but not all of them... For instance

    TOP LVL IDENTS could be A B and C. Three different parts.
    LOWER LVL IDENTS could be 1 2 3 4 5 and 6

    TOP LVL IDENT B will use 1 2 3 4 5 and 6.
    TOP LVL IDENT C will use 1 3 4 5 and 6


    TOP LVL IDENT A will use only 1 4 and 5

    Because 2 is only unique to TOP LVL IDENT B, in this location, I only need to have this record.
    Any thoughts? I am sure it is simple, but my brain was fried getting as far as I did, and I can not see the solution. Thank you, in advance!

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    I'm not sure I understand what you are trying to achieve. In your above example, you could do a count of lower lvl and if the count is 1 then keep that record, ignoring the top lvl. You could then query off those records to get the rest of the information you require.

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

Similar Threads

  1. Help! Unmatched Records Query
    By Hberg in forum Access
    Replies: 1
    Last Post: 03-09-2012, 03:41 PM
  2. Replies: 1
    Last Post: 12-08-2011, 01:52 PM
  3. Unmatched query with multiple criteria
    By brighteyes in forum Access
    Replies: 0
    Last Post: 10-26-2011, 06:37 AM
  4. Unmatched query on 1 table
    By tmcrouse in forum Access
    Replies: 7
    Last Post: 06-01-2011, 08:38 AM
  5. Unmatched query to lookup part of the field
    By DMetcalfe in forum Queries
    Replies: 15
    Last Post: 10-08-2010, 05:30 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