TextEdit.DataField

From Xojo Documentation

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

Supported for all project types and targets.

The field in the DataSource that the control is bound to.

Notes

Relevant only if the control is used in conjunction with a DataControl to display the contents of fields in a database table. It is assigned the name of a field (String) in the table referenced by the DataControl in the window.

Example

This example specifies the field for the control.

Me.DataField = "Name"