![]() |
Como consultar un campo timestamp teniendo un dato de tipo date?
utilizo delphi ver.7. y base de datos paradox ver.7
Fecha_Apli es de tipo TimeStamp, Fecha1 y Fecha 2 son objetos tdatetimepicker. Código SQL [-] q_cobranza.SQL.Add ('Select * from Cuen01 where FECHA_APLI>=' + QuotedStr(datetostr(fecha1.Date)) + ' and FECHA_APLI<= ' + QuotedStr(datetostr(fecha2.Date))) ; esto me produce el sig. error = "Type mismatch in expression" Agredeceria la ayuda he intentado usando la funcion convert y tampoco me funciona.:( |
|
Gracias Poliburro formatdatetime era la solucion. :)
|
La franja horaria es GMT +2. Ahora son las 06:31:21. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi