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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top