Results 1 to 4 of 4
  1. #1
    mikem is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2021
    Posts
    19

    Tabbing between tabs on a form

    I have a form that contains 2 tabs.
    After I get to the last field on the first tab, I want to tab to the first field on the 2nd tab.
    is there a way to do this?

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    I expect there are several ways of doing this. For example, in the after update event of the final control of the first tab, add code similar to this:

    Code:
    Private Sub Tab1LastControlName_AfterUpdate()
      Me.Tab2FirstControlName.SetFocus
    End Sub
    Modify control names as appropriate
    Doing that will only work if you change the contents of the last control on tab1. If that's not guaranteed, use a different event but similar code.
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  3. #3
    mikem is offline Novice
    Windows 10 Office 365
    Join Date
    Mar 2021
    Posts
    19
    worked perfectly
    thanks

  4. #4
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Excellent. Glad I could help
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 04-24-2018, 04:45 PM
  2. Split Form Tabbing
    By pmangan in forum Access
    Replies: 2
    Last Post: 10-12-2017, 03:47 PM
  3. Replies: 1
    Last Post: 03-21-2016, 10:40 AM
  4. continuous form, tabbing to footer!
    By gangel in forum Forms
    Replies: 4
    Last Post: 07-13-2015, 12:14 PM
  5. Replies: 3
    Last Post: 07-03-2013, 01:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums