ComboBox selection question

  • Thread starter Thread starter Nick via AccessMonster.com
  • Start date Start date
N

Nick via AccessMonster.com

Hello all,

This may be fairly simple but I am stuck. Is there a way to select the first
item in the list in a ComboBox from VBA? I have a form that has a ComboBox;
the user selects the ComboBox to populate a subform with existing data. I
just want the combo box to have the first item selected and populate the form
during the Form_Load event.

Any suggestions would be greatly appreciated.

Thanks in advance,
Nick
 
And, like usual, I figured out the problem right after posting... for anyone
wondering, I was trying

Me.Combo80.ItemData(0)
.SelText(0)

And other things like that.. it turned out to be just

Me.Combo80 = Me.Combo80.ItemData(0)


Ah well.
 
Back
Top