help needed with password protected buttons

  • Thread starter Thread starter alex_uk12
  • Start date Start date
A

alex_uk12

Guest
Hi, I have a button on form A that opens form B, but i wud like to put a password on this button, so when you click it, you have to type in a password before form B opens.
I'm using access 2000.

Cheers
Alex
 
Create a form with an unbound text field
create a button on the form in ihe onclick event you can check the value entered in the text field if itis the correct password close the form then open form B

On the button on form A in the on click event Comment out the opening of FormB

Open the new form
 

Users who are viewing this thread

Back
Top Bottom