I'm trying to run a query using a date from a form as criteria, but the query
responds as if there is no filter criteria. Is there some particular format I
have to use when using dates as criteria?
It can often help to use the query's Parameters collection to specify the
datatype of the criterion. Right mouseclick the grey background of the tables
in query design, and select Parameters from the dropdown.
In the grid that comes up copy and paste the actual criterion (it must match
exactly), e.g. [Forms]![MyForm]![txtDate], into the left column, and choose
"Date/time" in the right column. Do this for each parameter if you have more
than one.
That said, a date criterion must be recognizable as a real date - 1/9 will
work (January 9 of the current year), 2/11/2008 will work, but 01092010 or
1995 or "Next week" will not.