Results 1 to 2 of 2
  1. #1
    DB2010MN26 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Sep 2010
    Posts
    37

    Excluding null values on SQL table query

    Tryed to search for this but couldnt find much on it. I'm creating a simple query off of an SQL table. I'm trying to filter out the blank values so naturally I tryed the "Is Not Null" command in the criteria for the field I wanted to filter. When I did this it would continue to return all the values in the table including the blank ones. I was able to succesfully filter them out with the command ' <>"" ' Does anyone know why this would work and not the "Is Not Null" command. Is it somethign to do with the fact that i'm accessing an SQL table?

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    because you have empty strings ("" or " ") in the column instead of nulls

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

Similar Threads

  1. Query DateDiff calculation excluding weekends
    By Masterfinn in forum Queries
    Replies: 3
    Last Post: 04-01-2010, 09:46 AM
  2. Replies: 4
    Last Post: 02-08-2010, 11:17 AM
  3. Excluding data in a query
    By lpdds in forum Queries
    Replies: 1
    Last Post: 12-16-2009, 08:06 PM
  4. Null Values in query
    By LesleaOH in forum Queries
    Replies: 0
    Last Post: 10-19-2009, 04:45 PM
  5. Null Values not showing up in a Query
    By Valli in forum Queries
    Replies: 0
    Last Post: 01-04-2006, 03:53 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