From Xojo Documentation

Revision as of 19:09, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated|" to "{{DeprecatedItem|")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Supported for all project types and targets.

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


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.


This example specifies the field for the control.

Me.DataField = "Name"