Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/09/2006, 14:10
Avatar de tazzito
tazzito
 
Fecha de Ingreso: agosto-2006
Mensajes: 381
Antigüedad: 18 años, 9 meses
Puntos: 2
prueba tu consulta asi:

StrSql = "SELECT * FROM COSTOSOBRA WHERE Fecha Between datevalue(""" & format(Fecha1,"YYYYMMDD") & """) AND (""" & format(Fecha2,"YYYYMMDD") & """) ORDER BY CentroCosto, TipoCosto, Fecha"