Moving to a specific tabbed page/subform

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DeanO
    New Member
    • Feb 2007
    • 28

    Moving to a specific tabbed page/subform

    I have a new problem I have a Form with three tabs. I want the third tab to open auto when a text box on the first tabbed subform is updated. I have tried the SetFocus event but this will not work, as the subform is not already open. In conjunction with this I have a Select Case statement that auto selects a form to fill this subform I just want the this subform to open if one of the select case form is selected in stead of having click on the tab.
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    I have split this post off from the 3 month old, unrelated thread you posted it in! In the future please start a new thread when you have a new problem/question.

    You also never bothered to respond to my post on your previous thread nor give any indication as to whether you had resolved you problem. Forum etiquette, here and elsewhere, requires that you acknowledge responses to your threads and post how you resolved your problem, even if you did so on your own, so that other visitors to your thread may be enlightened.

    Linq ;0)>

    Moderator

    Comment

    • DeanO
      New Member
      • Feb 2007
      • 28

      #3
      That was rude of me and I do not use this much to post just to read. Lots of info to be had.
      However, if possible I would still like some help with my problem. I

      Comment

      • rsmccli
        New Member
        • Jan 2008
        • 52

        #4
        Originally posted by DeanO
        I have a new problem I have a Form with three tabs. I want the third tab to open auto when a text box on the first tabbed subform is updated. I have tried the SetFocus event but this will not work, as the subform is not already open. In conjunction with this I have a Select Case statement that auto selects a form to fill this subform I just want the this subform to open if one of the select case form is selected in stead of having click on the tab.
        I don't know about your tabbed subform not being open. I think you can just use this to have the third tab come into focus:
        Code:
        Private Sub txt1_AfterUpdate()
        
        Forms.Mainform.TabCtl = 2
        'other code
        
        End If

        Comment

        Working...