Subject | Re: [IBO] TIB_Grid RowSelect retrieve list of selected values |
---|---|
Author | radevojvodic |
Post date | 2004-06-29T10:03:59Z |
Thanks Dmitry,
Works fine.
--- In IBObjects@yahoogroups.com, "Dmitry Beloshistov" <torin@s...>
wrote:
Works fine.
--- In IBObjects@yahoogroups.com, "Dmitry Beloshistov" <torin@s...>
wrote:
> Hello, radevojvodic!09:36:44 -0000:
> You wrote to <IBObjects@yahoogroups.com> on Tue, 29 Jun 2004
>(tmpCol.AsString )
> r> Does anyone know how to retrieve a list of selected rows in a
> r> TIB_Grid.
>
> May be this can help you?
>
> var
> tmpCol: TIB_Column;
> begin
> ...
> tmpCol := Query.BufferFieldByName('MyField');
> Query.BeginBusy( false );
> try
> Query.BufferFirst;
> While not Query.BufferEOF do
> begin
> if Query.Selected[Query.BufferRowNum] then StringList.Add
> Query.BufferNext;
> end; // while
> finally Query.EndBusy; end;
>
> ......
> end;
>
>
>
>
> WBR, Dmitry Beloshistov AKA [-=BDS=-]