Developer

Field

Field assigned to Column.

property Field: TField read FField write SetField;
This property is set after FieldName property is set and TDataSet associated with Grid is active.

Field can be accessed via several ways:

1) Column name:

MyStringVar := NxDBTextColumn61.DataBinding.Field.AsString;
2) Index of column:

MyStringVar := NextDBGrid61.DataBinding[2].Field.AsString;
3) Typecasting:

MyStringVar := INxDataBinding(NxDBTextColumn61).DataBinding.Field.AsString;

See also