Set Focus Help

bill crumpton

Registered User.
Local time
Today, 17:14
Joined
Apr 20, 2000
Messages
105
I have 3 fields on a form. the first is the area code for a phone number, i.e. (000), the second is the prefix for a phone number and the third is the suffix of the phone number. I need to know how to automatically set the focus to the second field after the user enters the three numbers for the area code. The same for the prefix and suffix.

There are hundreds of phone numbers to enter and if the user could move throughout the three fields without having to use the tab button it would greatly help.

Thanks for all the help.

BAC

[This message has been edited by bill crumpton (edited 02-06-2002).]
 
Look up the AutoTab property. It should do what you want.
 
Pat,

Thanks for the response I will check it out.

BAC
 
another suggestion: in the ONCHANGE event of the areacode for instance, check if the len of the field is 3, then set focus to the next field. use different sizes for applicable fields
 

Users who are viewing this thread

Back
Top Bottom