Date expression used in criteria field

  • Thread starter Thread starter boz
  • Start date Start date
B

boz

I assumed when you enter the expression Date()+14 would give you 2 weeks of
information from the current date, but when I entered Date()-14 it gave me
more information than the 1st expression, can anyone explain this to me?
 
I assumed when you enter the expression Date()+14 would give you 2 weeks of
information from the current date, but when I entered Date()-14 it gave me
more information than the 1st expression, can anyone explain this to me?

Depends on where you enter it and what is in the data - neither of
which we can see.

A criterion of

Date()+14

will retrieve records with a date value of August 11 (if run today).
Records before or after that date will not be returned; records with a
time portion - such as #08/11/2008 11:35:21# - will not be returned.

Step back a bit. Describe your data, where and how you're specifying
the criterion, and what result you wish to obtain.
 

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

Back
Top