Difference between revisions of "TextEdit.DataField"

From Xojo Documentation

m (Text replacement - "{{Deprecated|" to "{{DeprecatedItem|")
Line 1: Line 1:

Latest revision as of 19:09, 3 September 2020

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"