Difference between revisions of "ListBox.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:08, 3 September 2020

Property (As String )
aListBox.DataField = newStringValue
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"