Ver Mensaje Individual
  #2  
Antiguo 13-02-2008
Avatar de Lepe
[Lepe] Lepe is offline
Miembro Premium
 
Registrado: may 2003
Posts: 7.424
Reputación: 29
Lepe Va por buen camino
Es un tema recurrente en los foros, usa parámetros:
Código Delphi [-]
qry.sql.text := ' select * from table where fecha = :mifecha';
qry.parambyname('mifecha').AsDAte := date();
qry.open;

Saludos
__________________
Si usted entendió mi comentario, contácteme y gustosamente,
se lo volveré a explicar hasta que no lo entienda, Gracias.
Responder Con Cita