By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,197 Members | 988 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,197 IT Pros & Developers. It's quick & easy.

Moving to a specific tabbed page/subform

P: 28
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.
Apr 18 '08 #1
Share this Question
Share on Google+
3 Replies


missinglinq
Expert 2.5K+
P: 3,532
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
Apr 18 '08 #2

P: 28
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
Apr 28 '08 #3

rsmccli
P: 52
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:
Expand|Select|Wrap|Line Numbers
  1. Private Sub txt1_AfterUpdate()
  2.  
  3. Forms.Mainform.TabCtl = 2
  4. 'other code
  5.  
  6. End If
Apr 28 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.