u need to use # before and after dates in SQL.
ex.
rs.Open "SELECT * FROM tblWhatever WHERE birthDate = #" & txtDate.text & "#"
|
Results 1 to 3 of 3
Thread: SQL syntax for date |
Click Here to Expand Forum to Full Width |