Character Count in unbound control

K

KPR

Hello,

I have an unbound text box on a form, after the user enters the first 2
characters I'd like to automatically go to the next control in the tab order.
How can I do this?

Thanks,
Ken
 
A

Albert D. Kallal

I have an unbound text box on a form, after the user enters the first 2
characters I'd like to automatically go to the next control in the tab
order.
How can I do this?


set the input mask to

??

The above will ONLY allow any two characters. (this setting is found on the
data tab)

To automatic jump to the next control, set hte "auto tab" = yes (this
setting is found on the "other" tab).
 
F

fredg

Hello,

I have an unbound text box on a form, after the user enters the first 2
characters I'd like to automatically go to the next control in the tab order.
How can I do this?

Thanks,
Ken

Code the control's Change event:

If Len(Me![Controlname].Text) >= 2 Then
Me![NextControlInTabOrderName].SetFocus
End If
 
Top