Subject | 'Record Not Found' - The Fix - WAS: Re: [IBO] Problems in TIB_BlobStream with the last Beta |
---|---|
Author | m. Th. |
Post date | 2009-07-22T10:30:41Z |
m. Th. wrote:
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.
> 3. A bunch of 'Record not found' exceptions (stack trace & code bellow)Change in IBODataSet.Pas, in TIBODataSet.InternalGotoBookmark the BS's
> 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.
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.