R
Richard Albrecht
Hi,
I've been going mad trying to figure out why this query will work on some
one else's Access 2k but not mine!
SELECT tblMembership.*
FROM tblMembership
Where tblMembership.[Valid To]>=DateSerial(Year(Date()), Month(Date()), 1)
AND tblMembership.[Valid To] <DateSerial(Year(Date()),
Month(Date()) + 3, 1);
Replace the table name with any table that has a date field (Valid To) in my
case.
When I run this I get a compiler error. I have downloaded all the latest
service packs to no avail.
Anybody got an idea???
Thanks
Rich
I've been going mad trying to figure out why this query will work on some
one else's Access 2k but not mine!
SELECT tblMembership.*
FROM tblMembership
Where tblMembership.[Valid To]>=DateSerial(Year(Date()), Month(Date()), 1)
AND tblMembership.[Valid To] <DateSerial(Year(Date()),
Month(Date()) + 3, 1);
Replace the table name with any table that has a date field (Valid To) in my
case.
When I run this I get a compiler error. I have downloaded all the latest
service packs to no avail.
Anybody got an idea???
Thanks
Rich