Results 1 to 2 of 2
  1. #1
    lukekonrad is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    1

    Query Help - Show field if another field is null


    hello , i am working on a school project and am stuck on the last part. I need to produce a query for use as a report. The fields in the query are:

    Building
    Teacher 1
    Teacher 2
    Teacher 3
    Teacher 4
    Archive 1
    Archive 2
    Archive 3
    Archive 4

    "building" is the search parameter for the query

    I need to produce a list of names of teachers, if there is nothing entered into the corresponding archive number e.g. no data in archive 1 and 3 , so show teacher 1 and 3.

    Hope ive explained this properly, any help would be much appreciated

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Let me get this straight.
    If there is no data in Archive1 & Archive3 - then you want to see Teacher1 and Teacher 3?
    What If there is no data in Archive1 & Archive3 & Archive2 & Archive4 - then you want to see Teacher1, 2, 3 & 4?

    What fields will your final query have?

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

Similar Threads

  1. Query to show AVERAGE of all values in a field
    By taimysho0 in forum Queries
    Replies: 9
    Last Post: 01-09-2012, 11:18 AM
  2. Replies: 1
    Last Post: 12-28-2011, 11:37 AM
  3. Total Query(One field with Null value)
    By vidplaylist in forum Queries
    Replies: 1
    Last Post: 11-30-2011, 03:57 PM
  4. query to show gaps in a date field
    By Lockrin in forum Database Design
    Replies: 1
    Last Post: 05-28-2010, 10:48 AM
  5. Replies: 2
    Last Post: 09-26-2009, 07:19 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