Vcl.DBCtrls.TDBMemo.DataField
Delphi
property DataField: string read GetDataField write SetDataField;
C++
__property System::UnicodeString DataField = {read=GetDataField, write=SetDataField};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBMemo |
Description
Specifies the name of the field for which the database memo displays data.
Use DataField to link the memo control to a field in the dataset. Just setting DataField by itself will not link the memo control to a database field. Additionally, the dataset which contains the field must be specified by setting the DataSource property.
DBMemo1.DataField := 'Notes';
DBMemo1->DataField = "Notes";