Results 1 to 3 of 3

Thread: Forcing a Tab

  1. #1
    Join Date
    Nov 2003
    Posts
    34

    Unanswered: Forcing a Tab

    Does anyone know how to force a tab after the user is finished typing? They are typing in a date and when they get to the last digit of the year we want the form to tab to the next box.

    Thanks!
    "If you are good you will be assigned all the work. If you are really good you will get out of it."

  2. #2
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    in your OnChange event issue a SetFocus to the next control...
    Back to Access ... ADO is not the way to go for speed ...

  3. #3
    Join Date
    Jan 2005
    Location
    United Arab Emirates
    Posts
    23
    Here is a snippet to move curser to next field if the text entered contains 5 letters
    Code:
     Private Sub qty_Change()
    If Len(Me.qty.text) >= 5 Then
    SendKeys "{tab}"
    End If
    End Sub
    hope this helps


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •