Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can Autotab after x number of keypress in a textbox

Status
Not open for further replies.

AccessGuruCarl

Programmer
Jul 3, 2004
471
US
Hello All,

I have a form with 6 text boxes, Each textbox requires 6 characters with the exception of the last using only 2.

The form is used to lookup or generate a help desk call.
The user is prompted with the 32 digit error code which he must give to the operator.

I've broken this up into 6 seperate fields so it's user for the operator to enter/verify the info.

Now I'm trying to autotab after the 6th character has been entered. So the operator can just type the string in without tabbing. I've tried counting the keypress and using sendkeys TAB command but this is not working.

Any Idea's....
Thanks

AccessGuruCarl
Programmers helping programmers
you can't find a better site.
 
I guess the easiest thing to do is to set the Input Mask to accept only six characters and set Autotab to Yes.
 
Thanks Remou,

Work like a charm.... Wasn't expecting it to be so easy!

Here's a star!

Well, it won't let me give you star.
Page cannot be displayed!

Thanks Again

AccessGuruCarl
Programmers helping programmers
you can't find a better site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top