Can someone help me I have a simple password form that contains a textbox and a command button. I know that this is probably very simple but I cannot seem to sort it.
When the user has entered the password, if they press the "Return" key on the keyboard then it sets the focus to the command button, if they then press "Return" again the requested form opens but they also get an error message as shown below
Run-time Error 2427
You entered an expression that has no value
If they enter the password and then click the command button the requested form opens without any error messages.
Regards
Paul
When the user has entered the password, if they press the "Return" key on the keyboard then it sets the focus to the command button, if they then press "Return" again the requested form opens but they also get an error message as shown below
Run-time Error 2427
You entered an expression that has no value
If they enter the password and then click the command button the requested form opens without any error messages.
Regards
Paul