However I have to click a command button in order for it to work
I do not understand what is working and what is not working. If a command button has focus the user can trigger the On Click event by using the Enter key in their keyboard. As for the code you posted, I do not believe it will work because of the following line ...
Code:
If (Forms!Password!.Text1.Value) <> "Oscar" Then
It would have to be changed to
If (Forms!Password!Text1.Value) <> "Oscar" Then
OR
If (Me.Text1.Value) <> "Oscar" Then