Subject | Re: [IBO] Accessing SELECTED rows in a grid |
---|---|
Author | skander_sp |
Post date | 2004-01-07T18:00:33Z |
> > I can know how many rows was selected, but need to access somefield
> > for I := 0 to IB_Query1.RowsSelected-1 dowhatever you want by addressing the
> > if IB_Query1.selected[I] then
> > // HOW can I access some field at THIS point?
>
> Now you are on a selected row and you can do with your field
> single fields for example by fieldname:Sorry Florian, but IB_Query1.selected[I] don't change the actual
> IB_Query1.FieldByName('MyFirstField').AsInteger := 12345;
> IB_Query1.FieldByName('MySecondField').AsString := 'FooBar';
> .....
>
record I think, only test if RecNO gived is or not Selected...
I need first to PUT in this ROW before check any field.