Subject | Re: [IBO] Multi rows with IB_Grid |
---|---|
Author | Andrew |
Post date | 2010-01-26T23:32:21Z |
On 01/26/2010 06:07 PM, Andrei Luís wrote:
while not CityQuery.BufferEof do
begin
if CityQuery.Selected[CityQuery.BufferRowNum] then
begin
//[to do] add city for where clause use
end;
CityQuery.BufferNexr;
end;
[Non-text portions of this message have been removed]
> How can I retrieve the rows that are multi selected in an IB_Grid?CityQuery.BufferFirst;
>
> My scenario:
> In ib_grid, I want to select some cities, and after a button click I want to
> do a select using the cities as where parameter.CityQuery.BufferFirst;
>
while not CityQuery.BufferEof do
begin
if CityQuery.Selected[CityQuery.BufferRowNum] then
begin
//[to do] add city for where clause use
end;
CityQuery.BufferNexr;
end;
[Non-text portions of this message have been removed]