The problem could be that the query is misinterpreting the type of [1st
Date] and [2nd Date].
You can declare the parameters for the query or you can force the type using
Bewteen CDate([1st Date]) and CDate([2nd Date])
Also, what format are you using to input the values? You should be using
m/d/yy or yyyy-mm-dd?
--
John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County
..
JV said:
Results were the same. The critiera is filtering as a number and not by
date.
John W. Vinson said:
I am running a query that subtracts a number in a table against a date
in the
same table. Plant Date: (([Sales Date])-([Grow Weeks]*7)) The answer is
correct but when I run a critiera of Between[1st date]and[2nd date] I
don't
get the filter information desired.
JV
I'd suggest using the DateAdd() function instead:
PlantDate: DateAdd("ww", -[Grow Weeks], [Sales Date])
This will return a date/time value and I suspect that your expression
will
return a Double Number.