J Jon123 Registered User. Local time Today, 17:41 Joined Aug 29, 2003 Messages 668 Apr 17, 2009 #1 what is the code for going to a specific page in a tab control. If on on page 3 say I want a command button on the form that will open to page 15 is this possible. DoCmd.gotopage [page15] does not work jon
what is the code for going to a specific page in a tab control. If on on page 3 say I want a command button on the form that will open to page 15 is this possible. DoCmd.gotopage [page15] does not work jon
M marianne Registered User. Local time Today, 14:41 Joined Mar 26, 2009 Messages 327 Apr 17, 2009 #2 isn't SETFOCUS the right code for it?
J Jon123 Registered User. Local time Today, 17:41 Joined Aug 29, 2003 Messages 668 Apr 17, 2009 #3 I have tried Setfocus gotopage and they error out
A AadvdV New member Local time Today, 23:41 Joined Apr 17, 2009 Messages 3 Apr 17, 2009 #4 Try Me.MyTabsCtl.Value = <tabnum> where tabnum is between 0 and number of tabs - 1
boblarson Smeghead Local time Today, 14:41 Joined Jan 12, 2001 Messages 32,040 Apr 17, 2009 #5 AadvdV is right (although you don't need the .Value part). Or you can just refer to the page name: If you have one of the pages named Page4 then you can just use Me.Page4.SetFocus
AadvdV is right (although you don't need the .Value part). Or you can just refer to the page name: If you have one of the pages named Page4 then you can just use Me.Page4.SetFocus