Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or returns the data field for the combo box control.
Syntax
public FieldId dataField([FieldId value])
Run On
Client
Parameters
- value
Type: FieldId Extended Data Type
The value to assign as the data field ID for the combo box control; optional.
Return Value
Type: FieldId Extended Data Type
The value of the data field ID for the combo box control.
Examples
The following example shows how to set and return the data field for the combo box control.
fieldID i;
// The combo variable is a previously assigned
// FormComboBoxControl value.
// Retrieve the data Field.
i = combo.dataField();
// Set the data field.
combo.dataField(fieldnum(CustTable, IdentificationNumber));