Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2012
    Posts
    20

    Criteria for a file?

    I'm trying to pull a query of which records do not have a file but I can't figure out how to do it. Here is a pic of my design so far:

    Click image for larger version. 

Name:	Dink.jpg 
Views:	11 
Size:	46.8 KB 
ID:	11364

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I think we may need to see what your data looks like.

    Do you really have a field with the value "IsEmpty", and are these the records you want to return?
    If so, you currently have it set to only showing "IsEmpty" records for "E-5" Pay Grade, and then show ALL "E-6" Pay Grade records. If you want to limit the "E-6" records, you will need to put "IsEmpty" on that Criteria row too.

    If you are trying to return records where there are no matching records in the Duty Section for each Rate Table record, you will want to do a Left Outer Join from the Rate Table to the Duty Section table, and then you will want to use Is Null as the Criteria (not quotes around it). Or, you can just use the Unmatched Query Wizard and let Access come up with the query for you.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Use Is Null as criteria to retrieve records with null. You will need this on both criteria rows.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 5
    Last Post: 09-20-2012, 03:27 PM
  2. Replies: 5
    Last Post: 08-02-2012, 09:44 AM
  3. Importing Excel file based on Criteria
    By Kinez101 in forum Programming
    Replies: 1
    Last Post: 04-18-2012, 12:55 PM
  4. Replies: 10
    Last Post: 03-04-2012, 12:17 AM
  5. Replies: 1
    Last Post: 07-13-2011, 11:00 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