Subject RE: [IBO] IB_Query methoed Locate causing Access Violation !
Author IBO Support List
This is a little bug in the DEBUG mode. It is fixed in my latest, I just need to cut a new release.
 
Sorry about this.
 
Jason


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Friday, June 27, 2014 3:27 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] IB_Query methoed Locate causing Access Violation !

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