Subject IB_Query methoed Locate causing Access Violation !
Author

Hi,


I have been used IB_Query.locate() for a long time, but now I have received message error when use type string, just only works with numbers, the version is 5.5.3 build 2067, is a bug? 


Delphi 7 Enterprise, Windows XPSP3.



procedure TFrm_Consulta.Edit_PesquisaChange(Sender: TObject);

var

  A : STRING;

begin

  //Pesquisa aproximada

  A := 'AVALUE';

  With IB_QueryConsulta do

  begin

       Locate(FieldKey, A{Edit_Pesquisa.text}, [lopFindNearest] );

  end;

end;


Thanks in Advance.


Toninho Nunes