I'm trying to a retrieve records that are between between 2 dates
SELECT * FROM TABLE
WHERE Dateposted >= '2001/5/1' AND Dateposted <= '2001/5/31'
Well this works fine for records 2001/5/10 upwards but a date like 2001/5/8 is not brought up even though it's there in the database.
I've tried putting the date all different ways and with 08 and 05 it still doesn't work.
Please, Please is there a way out of this quandrey
Gavin
SELECT * FROM TABLE
WHERE Dateposted >= '2001/5/1' AND Dateposted <= '2001/5/31'
Well this works fine for records 2001/5/10 upwards but a date like 2001/5/8 is not brought up even though it's there in the database.
I've tried putting the date all different ways and with 08 and 05 it still doesn't work.
Please, Please is there a way out of this quandrey
Gavin