Sign in Join
FPDoc Onlineexperiment

TDataSet.FieldValues property

Member of TDataSetpublicIn unit DB

Access to field values based on the field names.

Declaration

pascal
property FieldValues[FieldName: string]: Variant read GetFieldValues write SetFieldValues; default;

Description

FieldValues provides array-like access to the values of the fields, based on the names of the fields. The value is read or written as a variant type. It is equivalent to the following:

FieldByName(FieldName).AsVariant

It can be read as well as written.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.