UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Move To Different Tab Page, Access 2016    
 
   
Ron38
post Oct 18 2019, 09:25 AM
Post#1



Posts: 233
Joined: 19-August 10
From: New Hampshire


I have 10 tabs on a subform, and want to move from one tab to another.
I have found/read a few answers that suggested "Me.MyTabCtl.Pages(9).SetFocus". I get compile error on MyTabCtl. The messages I read were from 2015: has something changed?
Ron
Go to the top of the page
 
arnelgp
post Oct 18 2019, 09:35 AM
Post#2



Posts: 1,510
Joined: 2-April 09
From: somewhere out there...


if MyTabCtl is the name of the Tab Control:

Me.TabCtl =9 'tab control is zero based therefore we are switching to tab 10.

--------------------
Never stop learning, because life never stops teaching.
Go to the top of the page
 
GroverParkGeorge
post Oct 18 2019, 09:58 AM
Post#3


UA Admin
Posts: 36,041
Joined: 20-June 02
From: Newcastle, WA


It might also be useful to review this documentation.

--------------------
My Real Name Is George. Grover Park Consulting is where I do business.
How to Ask a Good Question
Beginning SQL Server
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    15th November 2019 - 09:11 PM