B
Bill Stanton
From VBA, how does one pre-select an item in
a combo box.
The combo box is based on a table that includes
a primary key autonumber. In the properties for
the CB, the default value is set to 1. So, when the
form opens that item appears in the CB. There
are conditions in the logic of the form where the
CB selection should revert to the default. I thought
maybe issuing Me.cboMyBox.Requery would do
the trick, but that had no effect on what was
currently displayed.
Thanks,
Bill
a combo box.
The combo box is based on a table that includes
a primary key autonumber. In the properties for
the CB, the default value is set to 1. So, when the
form opens that item appears in the CB. There
are conditions in the logic of the form where the
CB selection should revert to the default. I thought
maybe issuing Me.cboMyBox.Requery would do
the trick, but that had no effect on what was
currently displayed.
Thanks,
Bill