Subject Re: [IBO] Get the current field name of the active cell in IB_Grid
Author Paul Vinkenoog
Hello Marco,

> Hi, I need to get the current column (field) of the IB_Grid. I need
> to know it's name to loop then inside the dataset copying that field
> data value in a memo.

Grid.SelectedField gives you the TIB_Column (dataset column) for the
current grid column.

So Grid.SelectedField.FieldName is the field name in the dataset,
Grid.SelectedField.FieldNo the 0-based field number (add 1 if you want
to use it in SQL statements), etc.


Greetings,
Paul Vinkenoog