Date question

A

Amin

How do I query for all dates after a certain date?

e.g.
WHERE DateField > 11/01/2008

This is data mismatch obviously. How should I be writing this?

Thanks,
Amin
 
J

John Spencer

Well, you do need the # character to delimit literal dates.

WHERE [DateField] > #11/1/2008#

That assumes that 11/1/2008 means November 1 2008 and not January 11, 2008.

John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
 

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