select someDate from SomeTable where DateValue(somedate) >= #"+fromdate+"# and DateValue(somedate) <= #"+todate+"#
"select someDate from SomeTable where DateValue(somedate) >= #Format(" + fromdate + ",'yyyy-MM-dd')# and DateValue(somedate) <= #Format(" + todate +",'yyyy-MM-dd')#;"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)