Counting key strokes

  • Thread starter Thread starter Brett Davis
  • Start date Start date
B

Brett Davis

Hello

I have a field that the user enters in a 4 digit code. What I am trying to
accomplish is... when the user enters in the 4th character I want the focus
to move to the next field. The problem I am having is, how do i count the
number of key strokes in a given field and keep track of it? When the count
= 4 i want it to move to the next field. I am using Access 2000.

Please advise...

Thank you,

Brett
 
This ability and feature is built into ms-access.

Simply setup a input mask, and set the forms "auto tab" feature to yes (this
is found in the controls "other" property sheet).
 
Back
Top