This is how I would do it.
Create a password table (tblPassword). It will need 2 fields -- UserName and Password.
Create a form (frmPassword)with 2 text boxes and 2 command buttons. I'll call them txtName, txtPassword, cmdEnter, cmdCancel. Make it a popup form.
Put an input mask (Password) on the txtPassword text box so it will display ****'s when typing the actual password. Do the same thing with the Password field in the table.
On the screen/menu you are currently using to open the form you want protected, open the frmPassword form instead.
On the frmPassword form... In the click even of the cmdEnter button, place this code...
if not isnull(dlookup(me.txtName, "tblPassword")) Then
if me.txtPassword = dlookup(me.txtPassword, "tblPassword", "UserName = '" & me.txtName & "'") Then
docmd.openform "YourProtectedFormName"
docmd.close acform, "frmPassword"
else
msgbox "Invalid Password"
end if
else
msgbox "Invalid User Name"
end if
In the click event of the cmdCancel button...
docmd.close acform, "frmPassword"
Randy