J jwindon Registered User. Local time Today, 11:02 Joined Aug 12, 2001 Messages 531 Aug 27, 2001 #1 What is the command to move the focus to another tab on a form? The form is lengthy and I want to put a command button on the bottom to take the user to the other tab.
What is the command to move the focus to another tab on a form? The form is lengthy and I want to put a command button on the bottom to take the user to the other tab.
A Abby N Registered User. Local time Today, 11:02 Joined Aug 22, 2000 Messages 123 Aug 27, 2001 #2 Me.TabControlName.Pages(#).SetFocus Where '#' is the page index of the tab you wish to view. Keep in mind that tab controls start at 0. So, your first tab is pages(0), the second tab is page(1), ect... Good luck. ~Abby
Me.TabControlName.Pages(#).SetFocus Where '#' is the page index of the tab you wish to view. Keep in mind that tab controls start at 0. So, your first tab is pages(0), the second tab is page(1), ect... Good luck. ~Abby
J jwindon Registered User. Local time Today, 11:02 Joined Aug 12, 2001 Messages 531 Aug 27, 2001 #3 Thanks Abby! Works just fine!