Ver Mensaje Individual
  #5  
Antiguo 26-03-2009
tebre tebre is offline
Miembro
 
Registrado: nov 2008
Posts: 93
Reputación: 16
tebre Va por buen camino
probando.......

Código Delphi [-]
 
procedure TUpruebaaa.Button1Click(Sender: TObject);
begin
 With Datos.QryPrueba do begin
  If active then close;
     SQL.Clear;
     SQL.Add('SELECT FolioSolicitud,ClaveDireccion ');
     SQL.Add('FROM Solicitud');
     SQL.Add('Where FechaSolicitud between :Fechainicio and :FechaFin');
     parameters.parambyname('Fechainicio').Value := DateTimepIcker1.Date;
     parameters.parambyname('FechaFin').Value := DateTimepIcker2.Date;
     ExecSQL;
  end;
end;

quiero sacar los folio entre fechar por ejemplo
fechasolicitud:
01/02/2009 13:47:00
24/02/2009 13:47:00
24/03/2009 13:47:00
24/03/2009 13:47:00
24/03/2009 13:47:00

que me saque 01/02/2009 y 24/02/2009

datetimePicker1:
propiedad time 00:00

datetimepicker2:
propiedad time 23:59

ayudaaaa..no me muestra nada
__________________
By tebre
Responder Con Cita