Ver Mensaje Individual
  #9  
Antiguo 27-06-2007
Avatar de Caral
[Caral] Caral is offline
Miembro Premium
 
Registrado: ago 2006
Posts: 7.659
Reputación: 25
Caral Va por buen camino
Hola
Código Delphi [-]
with Query1 do begin
If Active then Close;
SQL.Clear;
SQL.Add('Select FECHA');
SQL.Add('From Emp_YEE ');
SQL.Add('Where Fecha >=' +DateToStr(DateTimePicker1.DateTime)+' AND Fecha <=' +DateToStr(DateTimePicker2.DateTime));
SQL.Add('Order by FECHA');
Open;
end;
QuickRep1.Preview;
end;
Saludos
Responder Con Cita