I need assistance with the following problem. I'm trying to restrict my querys to withing 2 dates.
select * from DB where DATESTAMP between '01-01-01' and '01-03-01'
Thats the command I use, but the dates are from variables. Everytime I try this I get a data type mismatch. Can anyone tell my how to use dates with VB to a DB?
select * from DB where DATESTAMP between '01-01-01' and '01-03-01'
Thats the command I use, but the dates are from variables. Everytime I try this I get a data type mismatch. Can anyone tell my how to use dates with VB to a DB?