M morlan Registered User. Local time Today, 20:45 Joined Apr 23, 2003 Messages 143 Jun 20, 2003 #1 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
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
Mile-O Back once again... Local time Today, 20:45 Joined Dec 10, 2002 Messages 11,305 Jun 20, 2003 #2 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
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
K kupe Registered User. Local time Today, 20:45 Joined Jan 16, 2003 Messages 462 Jun 23, 2003 #3 That looks good. Think I'll borrow that too. Thanks, Mile-O-Phile.