Results 1 to 5 of 5
  1. #1
    tomClark is offline Novice
    Windows XP Access 2000
    Join Date
    Jul 2009
    Posts
    8

    create a query to find names not entered

    Hello,
    will try to explain.
    i have 4 employees.
    jim, jack, joe, and john.
    every week a report is created that needs to have one record from each of them.
    But they are not responsible and may forget to submit data.
    first week
    Table1
    name endDate
    Jim 2/6/10
    Joe 2/6/10
    John 2/6/10
    * Jack forgot to turn in his report*
    Is there anyway to find this out with a query? sql statement?

    you may say -you can see easy with 4 records - who is missing-

    but with 50 names and if it was 49 entries it will take longer to find name not there.
    I am able to count the records and display no of records on report -


    but I am being asked to provide names of people not on report

    Does anybody know if this can be done in a query?
    also any helpfull advice to solve this will be helpfull - using my example to go from
    thank you

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Depending on your structure, one way would be a query that returns those that have turned in their report, and then an unmatched query of that against the table containing all employees.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    The problem that you have mentioned cane be solved in more than one ways and to suggest the most effective solution I need a details of you table structure to determine how you actually store data. Then only a solution is possible.

  4. #4
    tomClark is offline Novice
    Windows XP Access 2000
    Join Date
    Jul 2009
    Posts
    8
    thanks - i used pbaldy advice

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Query to find lowest value
    By AccessNubie in forum Access
    Replies: 3
    Last Post: 11-30-2009, 07:54 AM
  2. Find Records Query
    By sullyman in forum Programming
    Replies: 1
    Last Post: 10-28-2009, 08:49 AM
  3. Replies: 5
    Last Post: 08-05-2009, 12:13 PM
  4. Query to get column names in a table
    By access in forum Queries
    Replies: 1
    Last Post: 07-06-2009, 05:10 AM
  5. Query to get column names in a table
    By access in forum Forms
    Replies: 1
    Last Post: 07-01-2009, 02:50 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