im getting a data type mismatch error when i try to compare a date from a text box with a date in a access db, the field in the db is set to short date. im using the following sql statment.
"select * from [members] where [date]= '" & text1 & "';"
db date: 21/01/2001
textbox date: 21/01/2001
i cant see any reason why it doesnt work.
any ideas?
"select * from [members] where [date]= '" & text1 & "';"
db date: 21/01/2001
textbox date: 21/01/2001
i cant see any reason why it doesnt work.
any ideas?