Subject | Re: [IBO] Selecting multiple records in a grid. |
---|---|
Author | Lucas Franzen |
Post date | 2004-05-09T18:06:54Z |
Adrian,
You have to pass a TStringList as parameter which will hold all the
Bookmarks for the selected rows afterwards.
Then you can easily iterate through these bookmarks
(IB_Query.Bookmark := TStringList [index]).
HTH
Luc.
> IB_Query.RowSelected, merely returns a Boolean of whether the row isHave a look at the SelectedBookmark property of the undelying IB_Query.
> selected or not.
> Do I have to iterate through the entire dataset from first to last,
> checking whether the row is selected or not?
> This is the only way I can see.
You have to pass a TStringList as parameter which will hold all the
Bookmarks for the selected rows afterwards.
Then you can easily iterate through these bookmarks
(IB_Query.Bookmark := TStringList [index]).
HTH
Luc.