Results 1 to 2 of 2
  1. #1
    raffi is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Mar 2014
    Location
    Inside a Sub Procedure
    Posts
    88

    criteria show only with dates

    hello i have a query with a date field and item field

    in the design view of the query, within the criteria of the date field, i have the following, <> date()



    it is filtering out the blanks, which is exactly what i want, but unfortunately, it is also filtering out the current date,

    i would like to filter out the blanks in the query only, not the current date.

    if theres an alternative to , <> date() which only filters out the blanks and not the current date, would be much appreciated

    maybe if i can set formula which says, show me all dates from 2007 until 2050, then i would be an old man but however the problem would be solved since it would show the current date and no item expiry date exceeds 2050, and the blanks will be filtered out


    thanks in advance

  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,641
    Try

    Is Not Null

    in the criteria.
    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. Show start of week between dates
    By Perceptus in forum Reports
    Replies: 1
    Last Post: 11-04-2014, 03:48 PM
  2. Automatically show previous dates.
    By mbonning in forum Access
    Replies: 6
    Last Post: 09-12-2011, 12:12 PM
  3. Replies: 1
    Last Post: 06-12-2011, 07:08 AM
  4. Mixed dates - show only complete dates?
    By weeblesue in forum Queries
    Replies: 3
    Last Post: 10-27-2010, 02:15 PM
  5. Need report to show dates
    By Brian62 in forum Reports
    Replies: 2
    Last Post: 11-20-2009, 12:05 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