oh ya
el tema es que en access el tema de las fechas es complicadito
tienes que usar el caracter # entre las fechas algo asi
Código Delphi
[-]
adoQuery2.SQL.Add('select * from viatico where fecha_ida Between #'+
FormatDateTime('DDMMYYYY',DateTimePicker1.Date)+'# And #'+
FormatDateTime('DDMMYYYY',DateTimePicker2.Date) + '#');
y en SqlServer como te dije en el post anterior