Date Expressions/Criteria

V

V_Ernst

I am running a query and basing the results of that query on a Close Date
field in one of my tables.

I am using the normal expression for date range in my criteria which is:

Between #01/01/2008# And Now()

The table that has the close date field also has blanks because some of the
items do not have close dates. These are considered can be considered open
items.

I am trying to write my expression so that I can pull in all of the data
from this table that has the close date not just the items that fall within
in my date range. This way I can see what's open and what has a close date. I
am thinking I need to use NULL in my expressions but I just don't know how to
phrase it and can't figure it out.
 
D

Douglas J. Steele

(Between #01/01/2008# And Now()) OR ([FieldName] Is Null)

(replace FieldName with the actual name)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top