I need some help passing variables.
First. I do not have my database Protected using Access Security.
I have a MAIN form that has about 20 different fields that will have to be "signed off" by various people, so I need field-level security.
I have some code in a MAIN form (on entrance to a field)that says: When someone tries to enter, open the form PASSWORD. In the PASSWORD FORM I have the string that is typed in assigned to a variable X and then close the password form on OK click. Now, back to the code in the MAIN form---
I have a statement: If variable X = the assignedpassword, then allow access to this field, otherwise give nastygram message. However, the code just runs through without stopping. The code evaluates the variable before the person has had a chance to enter in the password on the password form and automatically executes the FAIL code. How do I stop it or make it pause and then restart after the person is done typing their password?
Or, am I going about this completely wrong. (Input box works but you can see the password that is typed in--I want ****s)
Thanks.
First. I do not have my database Protected using Access Security.
I have a MAIN form that has about 20 different fields that will have to be "signed off" by various people, so I need field-level security.
I have some code in a MAIN form (on entrance to a field)that says: When someone tries to enter, open the form PASSWORD. In the PASSWORD FORM I have the string that is typed in assigned to a variable X and then close the password form on OK click. Now, back to the code in the MAIN form---
I have a statement: If variable X = the assignedpassword, then allow access to this field, otherwise give nastygram message. However, the code just runs through without stopping. The code evaluates the variable before the person has had a chance to enter in the password on the password form and automatically executes the FAIL code. How do I stop it or make it pause and then restart after the person is done typing their password?
Or, am I going about this completely wrong. (Input box works but you can see the password that is typed in--I want ****s)
Thanks.