Switchboard page reference

  • Thread starter Thread starter Mick
  • Start date Start date
M

Mick

Hi

I am developing a log on routine that requires me to reference a
specific switchboard page if a password is entered correctly.

i.e. the main switcboard then opens a page. How can I reference this
specific page? The openform method is clearly no use as it sees the
switchboard as one entity.

Are the pages part of a collection and if so how is it referenced?

Thanks

Mick
 
Check online help for the Pages collection:
A Page object corresponds to an individual page on a tab control.

Remarks

A Page object is a member of a tab control's Pages collection.

To return a reference to a particular Page object in the Pages
collection, use any of the following syntax forms.

Syntax Description
Pages!pagename The pagename argument is the name of the Page object.
Pages("pagename") The pagename argument is the name of the Page object.

Pages(index) The index argument is the numeric position of the object
within the collection.
 
Back
Top