View Full Version : combobox default value


AccessFreak
03-03-2009, 04:26 AM
I have 2 comboboxes. When I click on a item in the first Combobox, it has to requery the second combobox. BUT I want the first item of the second combobox automatically in the field as default.

So that the user doesnt use that one. Other reason is because I want it invisible.

RuralGuy
03-03-2009, 06:02 AM
After the Requery then this code should do it:
Me.ComboName = Me.ComboName.ItemData(0)
...using your ComboBoxName of course.