Hide a page from a tab control in a form and view page via a password

C

CAM

Hello,

In my form I have a tab control showing 5 pages, but I only want the
contents of the 5th page showing only with a password. Another words I want
the 5th page contents not be visible the 5th page can be displayed. Is
this possible, I only have a combo box and bound object control in the 5th
page. Any tips or website to visit will be appreciated. Thank you in
advance.
 
R

Rick Brandt

CAM said:
Hello,

In my form I have a tab control showing 5 pages, but I only want the contents
of the 5th page showing only with a password. Another words I want the 5th
page contents not be visible the 5th page can be displayed. Is this
possible, I only have a combo box and bound object control in the 5th page.
Any tips or website to visit will be appreciated. Thank you in advance.

The easiest thing would be to make those objects on the fifth page hidden and
provide a visible TextBox to enter the password. In the AfterUpdate event of
that TextBox test the password and unhide the "protected" controls if the
password is correct.
 
C

CAM

Rick thanks for the tip.


Rick Brandt said:
The easiest thing would be to make those objects on the fifth page hidden
and provide a visible TextBox to enter the password. In the AfterUpdate
event of that TextBox test the password and unhide the "protected"
controls if the password is correct.
 
Top