A
AnhCVL
Hi all,
I have a data entry form that linked to a data table for input, which I have
a ComboBox name CBOSelection with a set of selection, when the data entry
form load, the initial selection is empty. when the form load, I want to lock
the combobox so that when user navigate through the record, they can not
change anything but viewing the record, but able to make selection from the
drop down menu when create new record ( when the combobox data field is empty,
unlock the combobox), is it possible?
ComboBox Setting:
Name: cboSelection
Row Resoure Type: Value List
Row Value: "Eraser";"Pen";"Pencils";"Books";
Bound Collume: 1
Limit To List: Yes
I've tried the following:
Private Sub Form_Load()
If cboSelection.Text = "" Then
cboSelection.Locked = False
Else
cboSelection.Locked = False
End If
End Sub
I've also tried to use .ListIndex, .ItemData, .Value, .NotInList, .
InSelection, .Name but none seem to work, thanks for the helps.
Mark
I have a data entry form that linked to a data table for input, which I have
a ComboBox name CBOSelection with a set of selection, when the data entry
form load, the initial selection is empty. when the form load, I want to lock
the combobox so that when user navigate through the record, they can not
change anything but viewing the record, but able to make selection from the
drop down menu when create new record ( when the combobox data field is empty,
unlock the combobox), is it possible?
ComboBox Setting:
Name: cboSelection
Row Resoure Type: Value List
Row Value: "Eraser";"Pen";"Pencils";"Books";
Bound Collume: 1
Limit To List: Yes
I've tried the following:
Private Sub Form_Load()
If cboSelection.Text = "" Then
cboSelection.Locked = False
Else
cboSelection.Locked = False
End If
End Sub
I've also tried to use .ListIndex, .ItemData, .Value, .NotInList, .
InSelection, .Name but none seem to work, thanks for the helps.
Mark