Moving to and from Combo Box

R

Roger Bell

When the user opens a form, the cursor is positioned in a Combo Box. When
the user makes a selection and presses Enter, the cursor moves to another
field for entering data.

When the Data is entered and Enter pressed, i would like the cursor to move
back to the Combo Box for the next selection and so on.

Is this achievable with a Combo Box and if so how do I go about it?

Many thanks for any help
 
J

Jeanette Cunningham

Roger,
yes you can do this.
When the data is entered and Enter is pressed, do you have code to save the
record and go to a new record?
If the combo is the first on the tab order for the detail section of the
form, when the form goes to a new record, the cursor will be at the combo.
If user is just selecting another record to edit, you can code the On
Current event with something like:
Me.TheComboName.SetFocus

Jeanette Cunningham
 

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