Subject Re: Bookmarks?
Author paulhope@allcomm.co.uk
Paul

> IBO bookmarks are so simple, it is deceiving.

Yup - I was deceived!

> The bookmark is a string. Just
> save the bookmark to a string variable, i.e. MyBookmark :=
Query1.Bookmark
>
> To move to a bookmark, Query1.Bookmark := MyBookmark
>

I hope this lightning bolt of revelation finds its way into the help
file :-) I spent about half an hour trying to find it in the help,
the examples and the source.

> A trick I haved used when using a separate lookupQuery is this:
>
> Query.Bookmark := LookupQuery.Bookmark
>
> This avoids the need for using a locate method.
>

Not sure I understand this. I would have thought that you wanted to
locate the Lookup record by the value of the query lookup field - and
that the Query.Bookmark contained the value of the keylinks field.
Unless youre only using this for a lookup on the keylinks field?

Regards
Paul


> Paul Gallagher
>
> ----- Original Message -----
> From: <paulhope@a...>
> To: <IBObjects@y...>
> Sent: Friday, January 26, 2001 5:11 PM
> Subject: [IBO] Bookmarks?
>
>
> > Is there a simple example or help statement on how to use
bookmarks.
> > I've found stuff stating they are Strings and an example of how to
> > synchronise tables - but nothing to say how to simply save your
place
> > and go back to it.
> >
> > Example of Bookmark help
> >
> > This only works for the IB_Query component for now.
> > Applies to
> > TIB_Dataset
> > Declaration
> > Property BufferBookmark : string;
> >
> > ?
> >
> > Regards
> > Paul
> >
> >
> >
> >
> >