ok, here is my sql statement:
"SELECT * FROM tblCountyEvent WHERE StartDate BETWEEN " & Date() & " AND " & DateAdd("d",14,Date()) & " ORDER BY DisplayDate"
and here's the result when i do a response.write in .asp:
SELECT * FROM tblCountyEvent WHERE StartDate BETWEEN 4/18/2005 AND 5/2/2005 ORDER BY DisplayDate"
Now the page loads, but no results come up and the table names are correct.
should i have singles quotes around the date fields? if i try that then i get an error - type mismatch
any ideas?
|