Question : How to find records between two dates ?

HI

I need to find some records between two dates using SQL against an Access database, I did something like the attached code but I donĀ“t get any record.

Regards.

Answer : How to find records between two dates ?

Try this:

"WHERE (((FINICIO_PROMOCION)<=#" & hoy.ToShortDateString & "#) AND ((FFINAL_PROMOCION)>=#" & hoy.ToShortDateString & "#) AND ((ESTATUS)='PROMOCION'))"
Random Solutions  
 
programming4us programming4us