Subject Re: Synchronising TIBOQueries
Author Eric Handbury
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:
>
> At 10:08 AM 28/03/2006, you wrote:
> >Hello,
> >
> > I have 2 TIBOQueries which both have the exact same number of
> >records and the same key-values for each record. (and even ordered the
> >same).
> >
> > I want to synchronise them so that when a user clicks on a record in
> >my DevExpress grid, that the identical record in the other TIBOQuery
> >is also focused/selected.
>
> Use bookmarks?
>
> But why do you need two IBOQueries, out of interest?
>
> Helen
>

Helen... thanks for the reply.

We need 2 IBOQueries since the 2nd table is filled-in optionally only
if an user requests a particular option.

I tried (C++):
qrLenderProd->InternalDataset->Bookmark =
qrLenderCost->InternalDataset->Bookmark;

...but this did not change the selected row of the 1st TIBOQuery
dataset (qrLenderProd).