I need to use the PageIndex value of a tabbed form to use for a decision loop, how can I get the value?
Thanks in advance.
I need to use the PageIndex value of a tabbed form to use for a decision loop, how can I get the value?
Thanks in advance.
Last edited by jonesy29847; 11-23-2010 at 10:06 PM.
It is the value returned by default when you reference the TabControl.
Me.YourTabControlName
Ok so how do I use Me.TabName in an if or case statement?
That would depend on what you want to accomplish. All you asked in your post is "how to you get the value".
I think jones want a sample:
Code:select case Me.TabName case 0 'first tab is active case 1 'second tab is active case 2 case else end select
jonesy29847:
Did the assistance provided by weekend00 help? Is this thread Solved yet?