I am trying to select portion of a dataset using a TADOQuery with a date filter, but no matter what format I use it seems to make no difference. eg.
SELECT * FROM DISBURSEMENTS WHERE "DATE CREATED = #21/07/03#"
I have tried it with all the date formats possible (dd-mm-yy, yy-mm-dd etc...) and with dash seperators and slash, but it just seems to ignore the statement and return all the records in the table.
I have checked the MSDN site, here and several others but I cannot find a reason/way of resolving this. Can anyone out there enlighten me?
TIA.
SELECT * FROM DISBURSEMENTS WHERE "DATE CREATED = #21/07/03#"
I have tried it with all the date formats possible (dd-mm-yy, yy-mm-dd etc...) and with dash seperators and slash, but it just seems to ignore the statement and return all the records in the table.
I have checked the MSDN site, here and several others but I cannot find a reason/way of resolving this. Can anyone out there enlighten me?
TIA.