My 2 cents....Another way to do this would be to use the persons novel userID (in different environments this could be "s_login=" or maybe "userid="....) with the afore mentioned User Table. This way you would not need a password but could just see who is logged in, and if they are a person who should have access to said form then let them if not then dont.
The commented out portion is also usful if you want to keep track of who has been in the database and when in a User Log table...This concept could be expanded to include recording any actions you want in your log.
Just call this function upon startup and
Public Function GetUserId()
On Error Resume Next
Dim EnvString, Indx, msg, PathLen, UserID
Indx = 1
Do
EnvString = Environ(Indx)
If Left(EnvString, 8) = "s_login=" Then
PathLen = Len(Environ("s_login"

)
UserID = Right(EnvString, PathLen)
Dim MyDB As Database, Mytable As Recordset, MyTable2 As Recordset
Set MyDB = DBEngine.Workspaces(0).Databases(0)
Set Mytable = MyDB.OpenRecordset("Users", DB_OPEN_TABLE)
Mytable.Index = "UserID"
Mytable.Seek "=", UserID
If Not Mytable.NoMatch Then
'if user id was found then put actions here.
'Set MyTable2 = MyDB.OpenRecordset("Use Log", DB_OPEN_TABLE)
'MyTable2.Index = "PrimaryKey"
'MyTable2.AddNew
'MyTable2("UserId"

= userid
'MyTable2("Date"

= Date
'MyTable2("Time"

= Time
'MyTable2("Action"

= "In"
'MyTable2.Update
'MyTable2.Close
Else
msgbox "You do not have access to this database."
'whatever action you want to take if not a
'user here, like exit database
End If
Exit Do
Else
Indx = Indx + 1
End If
Loop Until EnvString = ""
End Function