PopulateComboBoxWithShiftDescs Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopulateComboBoxWithShifDescs() method populates the specified combo box with all shift descriptions in the Shift table. Only non-empty shift descriptions are included.
'Declaration
Public Shared Sub PopulateComboBoxWithShiftDescs( _
ByVal cboShifts As ComboBox, _
ByVal includeEmptyDesc As Boolean _
)
public static void PopulateComboBoxWithShiftDescs(
ComboBox cboShifts,
bool includeEmptyDesc
)
Parameters
- cboShifts
- Required. Holds the combo box with which to fill shift descriptions.
- includeEmptyDesc
- Required. Holds a flag that, if set to true, causes an empty entry to be placed at the beginning of the combo box.