Subject Re: [IBO] TIB_GRID - Get list of multiselected rows?
Author gazpictures
Hi Helen,
Thanks for that - works great, however, I've tried to set my
KeyLinks as the primary key for my table so that I can use the list
of primary keys to perform my bulk update, but it seems the KeyLinks
values contained in the SelectedBookmarks list aren't my primary key
values....they look like generated values.
Is there anything else I need to configure to get the
SelectedBookmarks list to contain the fields I need? or is there a
way for me to use these keylinks values to update the records they
correspond to?

Thanks in advance and apologies about the disclaimer message from
before, unfortunately it can't be switched off so I'm posting now
from my yahoo account.

Gareth












--- In IBObjects@y..., "Helen Borrie (TeamIBO)" <helebor@t...> wrote:
> At 10:52 AM 16-08-02 +0100, you wrote:
> >Hi all,
> > I need to be able to iterate thru the multiselected rows in a
> >TIB_GRID - is there any way to find out what rows have been
selected?
> >
> >I've searched through all the help files and examples I can find
and
> >have not found anything obvious to help me - any thoughts or ideas
would
> >be greatly appreciated!
>
> "Use the data, Luke, use the data!"
>
> IBO's controls are driven by the data, not the reverse as in the
Delphi
> VCL. So iterate through the Dataset's SelectedBookmarks property -
it's a
> TStrings containing the KeyLinks values of each of the selected
rows.
>
> Would you please disable your company's automatic message - it
makes no
> sense in a public listserver. It's just annoying noise.
>
> regards,
> Helen Borrie (TeamIBO Support)
>
> ** Please don't email your support questions privately **
> Ask on the list and everyone benefits
> Don't forget the IB Objects online FAQ - link from any page at
> www.ibobjects.com