RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBMemo.DataField Property

Specifies the name of the field for which the database memo displays data.

Pascal
property DataField: WideString;
C++
__property BSTR DataField;

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";

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!