FormComboBoxControl.dataField Method [AX 2012]
Sets or returns the data field for the combo box control.
public FieldId dataField([FieldId value])
Run On
ClientParameters
- 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 TypeThe value of the data field ID for the combo box control.
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));
Community Additions
ADD
Show: