Library Vcl NextSuite 6 NextDBGrid6 Reference Classes TNxDataBinding Field

Field

Identifies TField from TDataSet that is assigned to the Column.

pas
property Field: TField read FField write SetField;

This property is set after FieldName property is set and TDataSet associated with Grid is active.

Field object can be accessed via several ways:

1) Column name:

pas
MyStringVar := NxDBTextColumn61.DataBinding.Field.AsString;

2) Index of column:

pas
MyStringVar := NextDBGrid61.DataBinding[2].Field.AsString;

3) Typecasting:

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

Sign in