Ver Mensaje Individual
  #2  
Antiguo 24-01-2007
Avatar de Onti
Onti Onti is offline
Miembro
 
Registrado: jul 2003
Ubicación: La Paz - Bolivia
Posts: 500
Reputación: 21
Onti Va por buen camino
Podriaa utilizar un código como este en el evento onchange o tambien onkeyPress

Código Delphi [-]
Var
  LCad :String;
begin
  LCad :=QuotedStr('%'+E_Apellido.Text+'%');
  QConsulta.Close;
  QConsulta.SQL.Clear;
  QConsulta.SQL.Add('SELECT APELLIDO FROM MITABLA WHERE APELLIDO LIKE '+LCad);
  QConsulta.Open;
end;
Responder Con Cita