Ver Mensaje Individual
  #12  
Antiguo 17-09-2018
the walrus the walrus is offline
Miembro
NULL
 
Registrado: abr 2018
Posts: 66
Reputación: 7
the walrus Va por buen camino
Cita:
Empezado por ecfisa Ver Mensaje
Hola.

Como te indicó Caminante, ese código no es correcto.

Del siguiente modo tendría que filtrar sin problemas:
Código Delphi [-]
...
var
  DS: TDataSet;
begin
  DS := DataSource1.DataSet;

  if not DS.Active then DS.Open;  (* Esta línea es innecesaria si el DataSet está activo *)

  DS.Filtered := False;
  DS.Filter   := 'NOMBRE LIKE ' + QuotedStr(Edit1.Text + '%');
  DS.Filtered := True;
end;

Saludos
cuando realizo una búsqueda filtra pero cuando borro el filtro me aparce este error argumento incorrecto fuera de intervalos permitido o en conflictos con otros
Responder Con Cita