Combo Pre-select

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
 
B

Bill Stanton

Hi Dan,
Yes, that was the first thing I tried. And, to be sure I
just tried that again, but no change occurred .
Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top