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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top