Subject | Re: [IBO] Using TIB_SearchPanel results in other TIB_Query |
---|---|
Author | Steve Fields |
Post date | 2003-08-14T15:45:59Z |
Thanks,
I was just under the impression that bookmarks were
SQL incidence specific and not table specific: bookmarks
for one selection of records were not valid for another
selection with all records, for example:
A selection where cities contained the first few letters
LAS gave 50 records, and from that selection
ten of them were selected by the user, using CTRL-Space.
This selection would then be passed as selected invoices
to be printed to a different form and set of routines.
Thanks again,
Steve Fields
I was just under the impression that bookmarks were
SQL incidence specific and not table specific: bookmarks
for one selection of records were not valid for another
selection with all records, for example:
A selection where cities contained the first few letters
LAS gave 50 records, and from that selection
ten of them were selected by the user, using CTRL-Space.
This selection would then be passed as selected invoices
to be printed to a different form and set of routines.
Thanks again,
Steve Fields
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> At 01:24 PM 14/08/2003 +0000, you wrote:
> >Hi,
> >
> > I need to be able to pass the results to a second
> >window from a TIB_SearchPanel selected group of
> >records. Which SQL string list from the original
> >TIB_Query do I need to pass in the parameter to
> >the second TIB_Query to get the same records?
>
> It is waaaaay easier than that. If you need two separate queries,
just use
> the AssignSQLWithSearch method. If you have controls on two forms that
> actually need to be looking at the same records, then point the
grids (or
> other data-aware controls) on both forms to the same datasource.
>
> > Also, as an aside, can I pass the selected
> >records (by using CTRL-Space) in this group of
> >selected records without having to send a second
> >string to the second form?
>
> I can't visualise what you want to do. A data-aware control is only a
> container in which you view what is in an underlying dataset. But -
if you
> are talking about some sort of button action that would look like
"copying"
> a group of selected rows from one dataset to another, say, then you
can use
> SelectedBookmarks to select the rows and apply that set of bookmarks
to the
> matching bookmarks in another set.
>
> Helen