Subject | Re: [IBO] Accessing SELECTED rows in a grid |
---|---|
Author | Florian Hector |
Post date | 2004-01-07T11:17:36Z |
> I can know how many rows was selected, but need to access some fieldNow you are on a selected row and you can do with your field whatever you want by addressing the
> for I := 0 to IB_Query1.RowsSelected-1 do
> if IB_Query1.selected[I] then
> // HOW can I access some field at THIS point?
single fields for example by fieldname:
IB_Query1.FieldByName('MyFirstField').AsInteger := 12345;
IB_Query1.FieldByName('MySecondField').AsString := 'FooBar';
.....
Florian