automatically move to the next field

T

Tom Tripicchio

I have 5 combo boxes on 3 separate tab controls. After answering a question
I would like the cursor to automatically go to the next combo field. How do
I do this. Also after answering the 5th question on the first tab control
can the cursor go to the next question on the 2nd tab control?

Thanks for the help in advance.

Tom
 
O

Ofer Cohen

You need to set the focus to a text box in that TAB

Me.[TextBoxName].SetFocus

You can use the AfterUpdate event or LostFocus event of the combo you want
to move from, to the text box using the above line.
 
T

Tom Tripicchio

Thank you very much. Works great.

Tom

Ofer Cohen said:
You need to set the focus to a text box in that TAB

Me.[TextBoxName].SetFocus

You can use the AfterUpdate event or LostFocus event of the combo you want
to move from, to the text box using the above line.


Tom Tripicchio said:
I have 5 combo boxes on 3 separate tab controls. After answering a question
I would like the cursor to automatically go to the next combo field. How do
I do this. Also after answering the 5th question on the first tab control
can the cursor go to the next question on the 2nd tab control?

Thanks for the help in advance.

Tom
 

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

Top