Subject RE: [IBO] TIB_BDataset.SysLocateRecord: Difference between IB4.8 and IBO5.9
Author Jason Wharton
You can bracket your call to Locate() in a block as follows:

  BeginCallbackFreeze;
  try
    ...
  finally
    EndCallbackFreeze;
  end;
 
Hope this helps!
 
Jason Wharton



From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Thursday, May 16, 2019 12:16 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] TIB_BDataset.SysLocateRecord: Difference between IB4.8 and IBO5.9

 

Dear Jason,

we migrate from IBO4.8 to IBO 5.9 in January. Now we have discover a huge problem:

In IBO 5.9 in TIB_BDataset.SyslocateRecord a "DoCallback( 9 );" (line 40055) is called which result sometimes a few methods later in an Application.Processmessage. This then causes the application to call the locate again - which then causes the locate to find nothing.

To prevent this we implement a TSession. OnAppCallback - but this means no application.processmessage from inside IBO is fired which causes other problems..

Any Idea to solve this problem?

Freundliche Grüße

Wolfgang Lemmermeyer

[Non-text portions of this message have been removed]