Move Cursor Automatically in Text Box

  • Thread starter Thread starter Rhonda Floyd
  • Start date Start date
R

Rhonda Floyd

I have three text boxes on a form. All Unbound Text Boxes, used for a query criteria.

When the user enters data in the first text box, after the 4th character entered, I want it to go to the second text box. I would like to do this so the user doesn't have to hit the tab key, or enter in more that 4 char in that field.

i.e. 1234 - after the 4, I want the curser to move to next text box.

How would I code this?

Any help will be greatly appreciated.

Thanks...Rhonda
 
in MS Access Help, find topic InputMask Property. read
thru it to determine how to set an input mask in the text
box, one that's appropriate for your needs.
once you've set the textbox's Input Mask property, set the
AutoTab property to Yes. make sure the form's controls are
set in the proper Tab Order.

-----Original Message-----
I have three text boxes on a form. All Unbound Text
Boxes, used for a query criteria.
When the user enters data in the first text box, after
the 4th character entered, I want it to go to the second
text box. I would like to do this so the user doesn't have
to hit the tab key, or enter in more that 4 char in that
field.
 
Back
Top