ListBox.DataField
From Xojo Documentation
This item was deprecated in version 2018r4. |
Property (As String )
aListBox.DataField = newStringValue
or
StringValue = aListBox.DataField
Supported for all project types and targets.
or
StringValue = aListBox.DataField
Supported for all project types and targets.
Name of a field in the database table referenced by DataControl.
Notes
Relevant only if the ListBox is used in conjunction with a DataControl to display the contents of fields in a database table.
Example
This example specifies the field for the ListBox.
Me.DataField = "FirstName"