Subject [IBO] Re: GetBookmark
Author Tom
Hi Hans,

Yes, this we can use, but not if a thirdparty uses itself getbookmark. In this case the dev express library makes a lot use of bookmarks.


--- In IBObjects@yahoogroups.com, "Hans" <hhoogstraat@...> wrote:
>
> Instead of GetBookMark, you can save the key value(s)
> of the current record and then use
>
> IBOQuery.Locate ('key1,key2',VarArrayOf( [Key1,Key2] ), [ ])
>
> instead of GoToBookMark, with additional flexibilities and the advantage of
> knowing when it fails with an
>
> if not (IBOQuery.Locate(.....) ) then ... It Failed ...
>
> due to the fact that another user may have removed that record.
>
> ----- Original Message -----
> From: "Tom" <zifnabbe@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Sunday, July 05, 2009 8:21 AM
> Subject: [IBO] Re: GetBookmark
>
>
> > Just some quick testing and I replaced the contents of GetBookmark with
> > the one in DB.pas file. Now I don't get the AV. I don't see any weird
> > issues yet, so for now I leave it like this. It's certainly not the right
> > fix, but I can move on for now.
> >
> > IBObjects@yahoogroups.com, "Tom" <zifnabbe@> wrote:
> >>
> >> Hi, Is there anyone else experiencing problems when using GetBookmark? I
> >> disabled the cxGrid component, and called the bookmark myself after
> >> opening the query and I get an AV as well, so I assume it it only related
> >> to the IBODataset implementation, but of course I'm not 100% sure and
> >> therefor I wonder if others are having this issue as well.
> >>
> >
> >
> >
> >
> > ------------------------------------
> >
> > ___________________________________________________________________________
> > IB Objects - direct, complete, custom connectivity to Firebird or
> > InterBase
> > without the need for BDE, ODBC or any other layer.
> > ___________________________________________________________________________
> > http://www.ibobjects.com - your IBO community resource for Tech Info
> > papers,
> > keyword-searchable FAQ, community code contributions and more !
> > Yahoo! Groups Links
> >
> >
> >
>