Difference between revisions of "ListBox.DataField"

From Xojo Documentation

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

Latest revision as of 19:08, 3 September 2020

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

Supported for all project types and targets.

Name of a field in the database table referenced by DataControl.


Relevant only if the ListBox is used in conjunction with a DataControl to display the contents of fields in a database table.


This example specifies the field for the ListBox.

Me.DataField = "FirstName"