G
Guest
I have a simple database that will have 3 groups using it. I want to restrict
some of these used to just one "Form" and One to access to "All forms" I
wish to create a simple password form that will require the "GroupsName" and
"Password" for them to access their form. How many 'If and then " can you
use. e.g. "If Me![Password] = "ssulano" Then
DoCmd.OpenForm "ModifyInvoice"
Else
MsgBox "Incorrect password", 16, "Password"
DoCmd.Close
End If
Can I use two other "If" examples with different passwords and different
forms to be open?
Is this the best method or is another way perhaps better?
some of these used to just one "Form" and One to access to "All forms" I
wish to create a simple password form that will require the "GroupsName" and
"Password" for them to access their form. How many 'If and then " can you
use. e.g. "If Me![Password] = "ssulano" Then
DoCmd.OpenForm "ModifyInvoice"
Else
MsgBox "Incorrect password", 16, "Password"
DoCmd.Close
End If
Can I use two other "If" examples with different passwords and different
forms to be open?
Is this the best method or is another way perhaps better?