Difference between revisions of "TextEdit.DataField"

From Xojo Documentation

m (Text replacement - "{{Deprecated|" to "{{DeprecatedItem|")
 
Line 1: Line 1:
{{Deprecated|version=2018r4}}
+
{{DeprecatedItem|version=2018r4}}
  
 
{{PropertyBox
 
{{PropertyBox

Latest revision as of 19:09, 3 September 2020

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"