Results 1 to 2 of 2
  1. #1
    dazibit is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    1

    Query to display null fields.

    I have a query where I am calculating the average amount of hours a student does homework.

    The database contains students in secondary and post secondary.

    Is there a way to display a value of N/A or 0 for the average of students which it doesn't apply to and have 0 or null in both fields of secondary and post secondary?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    HomeworkHoursModified: nz([homework_hours], 0)

    if you were going to display it it in a query

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

Similar Threads

  1. Only displaying non-null fields in query??
    By skier4life in forum Queries
    Replies: 1
    Last Post: 06-24-2013, 08:53 AM
  2. Replies: 3
    Last Post: 05-10-2013, 10:49 PM
  3. Query Not Returning Null Fields
    By mgmirvine in forum Queries
    Replies: 2
    Last Post: 10-28-2011, 06:15 PM
  4. Query search wont display null fields
    By Coffee in forum Queries
    Replies: 2
    Last Post: 08-08-2011, 09:00 AM
  5. make query fields not display if null data
    By rivereridanus in forum Queries
    Replies: 1
    Last Post: 07-05-2011, 08: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