Criteria for Date/Time Field - Cumbersome

  • Thread starter Thread starter tbl
  • Start date Start date
T

tbl

When I want to quickly query for a certain date, on a field
that is a Date/Time datatype and contains both date *and*
time information, it sure seems a pain to have to use the
"between" statement. Is there a better way?
 
Sure -- use a query like this:

SELECT * FROM Tablename
WHERE DateValue([DateTimeFieldName]) = #06/29/2006#;
 

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