Subject Re: 'Record Not Found' - The Fix - WAS: Re: [IBO] Problems in TIB_BlobStream with the last Beta
Author Jason Wharton
There are a few more beside this one that will be in 4.9.4 that I want to
get out here in the next day or two.

If anyone wants the latest IBODataset.pas unit they can send me a private
email.

Jason Wharton

----- Original Message -----
From: "m. Th." <th@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, July 22, 2009 4:30 AM
Subject: 'Record Not Found' - The Fix - WAS: Re: [IBO] Problems in
TIB_BlobStream with the last Beta


> m. Th. wrote:
>> 3. A bunch of 'Record not found' exceptions (stack trace & code bellow)
>> but the program seems to work ok because AFAIS these are located
>> immediately after opening/refreshing the dataset so, anyway, the cursor
>> is at the beginning. But anyway imho this shows a weak point in our
>> bookmark engine.
> Change in IBODataSet.Pas, in TIBODataSet.InternalGotoBookmark the BS's
> declaration from String to AnsiString:
>
> procedure TIBODataset.InternalGotoBookmark( ABookmark: Pointer );
> var
> BS: AnsiString; //mTh +
> // BS: String //mTh -
>
> function LookAround( Forwards: boolean; WindowSize: integer ): boolean;
> begin
> .... //etc.
>
> HTH,
>
> m. Th.