W
Wes Peters
I want to be able to compare a user-supplied date against a smalldatetime
field in a query. It looks like using the # sign is a mdb thing only. Do I
use the Convert function on the table's date field to convert to a
"formatted" smalldatetime and then compare? This is what I've tried with
some success. It works when I use a > or < in the comparison but not =.
What is the best approach to constructing a query string that compares a
user-supplied date against smalldatetime field?
Any thoughts or articles on the subject would be appreciated.
Thanks,
Wes
field in a query. It looks like using the # sign is a mdb thing only. Do I
use the Convert function on the table's date field to convert to a
"formatted" smalldatetime and then compare? This is what I've tried with
some success. It works when I use a > or < in the comparison but not =.
What is the best approach to constructing a query string that compares a
user-supplied date against smalldatetime field?
Any thoughts or articles on the subject would be appreciated.
Thanks,
Wes