TextEdit.DataSource

From Xojo Documentation

Property (As String )
aTextEdit.DataSource = newStringValue
or
StringValue = aTextEdit.DataSource

Supported for all project types and targets.

The DataControl that references a table in a database whose fields are displayed using the control (TableName as String).

Notes

If assigned in code, you use the Name property of a DataControl. Use the DataField property to link each field to be displayed to a control. In the IDE, a popup menu of field names will appear.

Example

Use the DataField property to link the field to be displayed to the TextField or TextArea. In the IDE, a popup menu of field names will appear. When set in code, it takes a String, e.g.,

Me.DataSource = "DataControl1"