Subject Re: [IBO] Re: GetBookmark
Author Hans
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: <>
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.
>, "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.
> ___________________________________________________________________________
> - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links