combo box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a combo box in my form. I have set the tab stop to Yes and have set
the tab order. What I want to have done is once the choice is entered (field
size is 1) in the combo box that it will advance to the next field instead of
having to tab to the next field.

Thanks!
 
Lou said:
Hi,

I have a combo box in my form. I have set the tab stop to Yes and have set
the tab order. What I want to have done is once the choice is entered (field
size is 1) in the combo box that it will advance to the next field instead of
having to tab to the next field.

Hi Lou,

This worked for me-

Place this line of code in the "AfterUpdate" event of the combobox:
Me.ControlName.SetFocus
and replace "ControlName" with the name of the control you would like to set
focus to.

Hope this helps.

-Amit
 
Back
Top