Question : Password protect a form - the Sequel

Hi guys, my situation is nearly identical to that of Haze0830 in the following link-
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_23503325.html#notices
I tried both of the listed solutions.  Either way, when I open the form I'm trying to password protect, the form simply opens without asking for a password.

This is the latest in a loooooong string of solutions I've tried, including a sort of Welcome form with a text box ("Password") and a button that triggered this (original code via firchild video):

Private Sub Button_Click()
   Password.SetFocus
   If Password = "yayitworked" Then
     MsgBox "You are a genius among men.", vbInformation, "Access Granted!"
     DoCmd.Close
     DoCmd.OpenForm "Form_ProtectMeFromNewbies"

     Else
     MsgBox "Please re-enter your Password."

   End If
End Sub


The button does nothing.  None of these solutions work.  What on earth am I doing wrong?  It's enough to drive a man to coffee.

- Al
Related Solutions: Password protect a Form

Answer : Password protect a form - the Sequel

Check example
Random Solutions  
 
programming4us programming4us