Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password on a Button

Status
Not open for further replies.

Wrecker

Technical User
Aug 29, 2001
126
US
I would like to put a request for a Password on a Button. Where might I find the code needed? I'm assumming the code would go in the "on Click" event for the Button. I am using the button to open another form, and I need the form password protected.

Thanks
Wrecker
 
What I do in this situation is have the button open a password form. If the password is entered correctly it will then open the "Protected" form otherwise it returns to the form with the button.
 
Dear Wrecker,

Sounds like what you need here are 2 forms.

When you press the 'Button', a call opens a small form that has a field for a password, a continue button and a cancel button.

If the user enters the correct password, the continue button on this intermediate form will open the final desired form and then close the password form. Cancel just closes the password form.

Good Luck,
Hap [2thumbsup]


Access Developer [pc] Access based Add-on Solutions
Access Developer Forum
xx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top