Vcl.DBCtrls.TDBRichEdit.DataField

From RAD Studio API Documentation
Jump to: navigation, search

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 TDBRichEdit

Description

Specifies the field from which the rich edit control displays data.

Use DataField to bind the rich edit control to a field in the dataset. To fully specify a database field, both the dataset and the field within that dataset must be defined. The DataSource property of the rich edit control specifies the dataset which contains the DataField.



DBRichEdit1.DataField := 'Document';



DBRichEdit1->DataField = "Document";



See Also