Subject Re: [IBO] A TBookMark-like behavior in IB_Query?
Author Chuck Belanger
Thanks, Jason!

So after looking at the properties and methods of IB_Query, I assume I use:
ABookMark := qry.Bookmark
//do something
qry.SelectedBookMark[ABookMark] //to return to record
qry.InvalidateBookMark(ABookMark); //not sure this is needed?

Thank you again,

Chuck
> Also, just a note. It's contents depend upon what is in your KeyLinks.
> If you have two queries with the same KeyLinks then you can use the
> bookmarks across both queries. The same is true between TIB_Query and
> TIBOQuery too.
>
> Jason
> www.ibobjects.com
>
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
> Of IBO Support List
> Sent: 17 December 2012 12:16 PM
> To: IBObjects@yahoogroups.com
> Subject: RE: [IBO] A TBookMark-like behavior in IB_Query?
>
> Yes. Just use the Bookmark property. It is a string so there is no need to
> allocate it and free it.
>
> Jason
> www.ibobjects.com
>
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
> Of Chuck Belanger
> Sent: 17 December 2012 12:01 PM
> To: IBObjects Listserve
> Subject: [IBO] A TBookMark-like behavior in IB_Query?
>
> Hello:
>
> Is there a way of getting the same ability to store a dataset location
> and return to it in IB_Query as in IBOQuery with TBookMark, after doing
> a LOCATE in the same dataset?
>
> I am looping through a dataset with NEXT.
>
> Thanks,
>
> Chuck Belanger
>
>
> ------------------------------------
>
> ___________________________________________________________________________
> 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
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ___________________________________________________________________________
> 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
>
>
>
>
>
> ------------------------------------
>
> ___________________________________________________________________________
> 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
>
>
>
>