Subject RE: [IBO] How to get a datafield of a row selected in a grid
Author Christian Gütter
Tobias,

you are right.
Thanks for your suggestion -
sometimes the ways of IBO are too easy
to be understood by me!


Christian

> -----Original Message-----
> From: Tobias Giesen [mailto:tobias_subscriber@...]
> Sent: Wednesday, July 04, 2001 5:49 PM
> To: IBObjects@yahoogroups.com
> Subject: RE: [IBO] How to get a datafield of a row selected in a grid
>
>
> Hi!
>
> AFAIk the selected row in the grid is identical to the
> query's current row,
> so all you need is:
>
> Query.FieldByName('XYXY').AsString;
>
> Have you tried that? It should always return the data from the current
> selected row.
>
> Cheers,
> Tobias

>
>