Hello all. I may be going about this the wrong way, but I'd like to password protect a control that will open another form. Is this possible? Or is there a better way to go about this?
Dim X as Variant
X = InputBox("Please enter the password to open this form:", "PASSWORD")
If X = "Your Password" then
DoCmd.OpenForm "frmSomething"
Else
MsgBox("You cannot open this form without a password.")
End if
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.