Ver Mensaje Individual
  #2  
Antiguo 04-09-2007
Avatar de poliburro
[poliburro] poliburro is offline
Miembro Premium
 
Registrado: ago 2004
Ubicación: México D.F
Posts: 3.068
Reputación: 23
poliburro Va por buen camino
Prueba de esta manera


Código Delphi [-]
Query.Close;
Query.Sql.Text := 
    '  select factura, fecha ' +
    '    from facturas ' +
    '  where fecha = "' + FormatDateTime('yyyy-mm-dd',Fecha.Date) + '"';
Query.Open;
__________________
Conoce mi blog http://www.edgartec.com
Responder Con Cita