Ver Mensaje Individual
  #13  
Antiguo 12-02-2008
calciojar calciojar is offline
Miembro
 
Registrado: ene 2008
Posts: 22
Reputación: 0
calciojar Va por buen camino
HAAAA Y UNA PREGUNTA ME PODRIAN EXPLICAR EL CODIGO DEL FILTRO QUE ME DIERON???

Código Delphi [-]
procedure TdmReportes.BusFac(Factura: String);
var
   Filtro : String;
begin
   If (Factura.Text <> '') then
   begin
      qryFact.Filtered := False;
      Filtro := 'Factura Like ''%' +Factura+ '%'' order by facturas ASC';
      qryFact.Filter := Filtro;
      qryFact.Filtered := True;
   end
   else qryFact.Filtered := False;

end;
Responder Con Cita