Date

S

Sergei

In my select query (Access 2003) I need to set the criteria in the date field
to limit it to the range. What would be the exact string to set the range
between 1-1-09 and 12-31-01?

Thank you!
 
J

John W. Vinson

Date literals need to be enclosed in hashes, as shown below:

Between #01/01/09# And #12/31/09#

Note also that if you use literal dates they must be in the American
(month/day/year) format, or an unambiguous format such as #2009-01-26#.
 

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