Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Nov 2002
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cursor position (2000)

    After completing filling in the fields in a form and go to the next record, how do I get the cursor to automatically start at my first tab order?
    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Cursor position (2000)

    If the user presses Enter or Tab after filling in the last field, the focus will automatically shift to the first field in the next control. If you also want to shift the focus to the first field if the user clicks one of the navigation buttons, you could use code like this in the On Current event of the form. But this might be annoying (for example if the user wants to copy text from a specific field in one record to the same field in another record.)

    Private Sub Form_Current
    Me.NameOfFirstControl.SetFocus
    End Sub

    Substitute the correct name.

Posting Permissions

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