Choose an item from a combo box automatically

morlan

Registered User.
Local time
Today, 20:45
Joined
Apr 23, 2003
Messages
143
How can I instruct access to select an item in a dropdown combo box automatically?

Also, is it possible to make a combo box drop down automatically?

Thanks
 
In the form's OnLoad() event:

To select the first option in a combobox,

Code:
Me.cboYourCombo = Me.cboYourCombo.ItemData(0)


To make it drop down,

Code:
Me.cboYourCombo.DropDown
 
That looks good. Think I'll borrow that too. Thanks, Mile-O-Phile.
 

Users who are viewing this thread

Back
Top Bottom