Subject | Re: [IBO] GotoCurrent in IBO 4. 2 Ea |
---|---|
Author | Jason Wharton |
Post date | 2001-08-16T02:17:19Z |
I believe I have this figured out and fixed now.
This had to do with the new ability to refine horizontally. When a bookmark
is used it will actually refine the dataset to the bookmark if it doesn't
find it already in memory. In your case, it was refreshing the dataset to
refine on the bookmark. The way I did this internally forced the refinement
context in a way that made it think the dataset was empty. Thus, it got left
in a little bit of a confused state.
I'm pretty amazed this made it through the BETA but you definitely found a
bug.
Thanks,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
This had to do with the new ability to refine horizontally. When a bookmark
is used it will actually refine the dataset to the bookmark if it doesn't
find it already in memory. In your case, it was refreshing the dataset to
refine on the bookmark. The way I did this internally forced the refinement
context in a way that made it think the dataset was empty. Thus, it got left
in a little bit of a confused state.
I'm pretty amazed this made it through the BETA but you definitely found a
bug.
Thanks,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Stefan Rausch" <st.rausch@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, August 15, 2001 1:09 AM
Subject: [IBO] GotoCurrent in IBO 4. 2 Ea
> Hi,
>
> I try to convert an Application from BDE to Interbase/IBO.
>
> There seems to be a Problem with TIBOtable.GotoCurrent
> in IBO4.2 Ea:
> * Exception EDatabaseError: ADR2: Record not found
>
> It works fine in IBO 3.6 Di
>
>
> I tried it in a small sample-application with 2
> TIBOTables on the same physical Table:
>
> procedure TForm1.Button12Click(Sender: TObject);
> begin
> ADR1.Next;
> ADR2.GotoCurrent(ADR1);
> end;
>
>
> Thanks for your help,
>
> Stefan Rausch