Referring to 'CurrentPage'

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I refer to the current page of a mult-page form?

The following does not work:
if me.page = 1 then...
 
Where tabMain is your tab/page *control* (not form), and Me is the form on
which that control is placed.
The Value of the control is the page number so
Me.tabMain.Pages(Me.tabMain.Value)
Is the current page.

Me.tabMain.Pages(Me.tabMain.Value).Name
Is the name of the current page.

HTH,
 
Back
Top