Difference between revisions of "ListBox.DataField"

From Xojo Documentation

m
Line 1: Line 1:
 +
{{Deprecated|version=2018r4}}
 +
 
{{PropertyBox
 
{{PropertyBox
 
| name=DataField
 
| name=DataField

Revision as of 17:23, 26 October 2018

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"