Re: Tab Control Code Question
- From: "DFS" <nospam@xxxxxxxx>
- Date: Tue, 11 Mar 2008 00:16:49 -0500
Keith Wilby wrote:
What code to I need to return the name of the *current* page on a tab
control? I can return the name of a specific page using (for example)
strCriteria = Me.tabDiscipline.Pages(0).Name
but how do I get the *current* page in the Change event of the tab
control?
Many thanks.
Keith.
This will give you the name you assigned to the selected tab:
Forms.FormName.tabCtlName.Pages(Forms.FormName.tabCtlName).Name
This will give you the index of the selected tab: Forms.FormName.tabCtlName
.
- Follow-Ups:
- Re: Tab Control Code Question
- From: Keith Wilby
- Re: Tab Control Code Question
- References:
- Tab Control Code Question
- From: Keith Wilby
- Tab Control Code Question
- Prev by Date: Re: SQL for running average calculations
- Next by Date: Table locking up in Access 2003
- Previous by thread: Re: Tab Control Code Question
- Next by thread: Re: Tab Control Code Question
- Index(es):
Relevant Pages
|