VAFieldName
Applies to
VACheck, VACombo, VAList, VAOption, VAText
Description
Sets or returns the field name for the field associated with the control.
Remarks
For field-bound controls, this property sets or returns the field name for the field to which the control is bound. Setting this field to a valid field name from the VAccess control specified in the VAccessName property of the bound control binds the control to the specified field within the current record.
If the VAccess control is in extended operations mode and field selection criteria have been specified in the SelectedFields property of the control, the valid field names to which a field bound control may bind are limited to the set of valid ColumnName values for the VAccess control (the fields listed in SelectedFields).
This property is also used with the VACombo control to implement a special index selection combo box. This allows the user to select the desired index path during program execution. To make the VACombo an Index Section box, choose [Index List] for the value of the VAFieldName property.
For VAList control in multi-column record list mode (VARecordList property is True), the VAFieldName property can contain a list of fields separated by semicolons.