FormComboBoxControl.dataField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
dataField() |
Sets or returns the data field for the combo box control. |
dataField(Int32) |
dataField()
Sets or returns the data field for the combo box control.
public:
virtual int dataField();
public virtual int dataField ();
abstract member dataField : unit -> int
override this.dataField : unit -> int
Public Overridable Function dataField () As Integer
Returns
The value of the data field ID for the combo box control.
Remarks
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));
Applies to
dataField(Int32)
public:
virtual int dataField(int _value);
public virtual int dataField (int _value);
abstract member dataField : int -> int
override this.dataField : int -> int
Public Overridable Function dataField (_value As Integer) As Integer
Parameters
- _value
- Int32
The value to assign as the data field ID for the combo box control; optional.