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    
post Oct 18 2019, 09:25 AM

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?
Go to the top of the page
post Oct 18 2019, 09:35 AM

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
post Oct 18 2019, 09:58 AM

UA Admin
Posts: 36,171
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 did business for 20 years.
How to Ask a Good Question
Beginning SQL Server
Go to the top of the page

Custom Search

RSSSearch   Top   Lo-Fi    7th December 2019 - 05:27 PM