Is it possible?

UTK

Engineer Bound
Local time
Today, 10:27
Joined
Oct 13, 2004
Messages
17
:confused: In my DB, i have three different groups with permissions. What i want to do is hide the menu bar and DB window when any one from two of those groups logs on, but not the third. Is there some code i can write for this? Is it even possible?
 
If you are using Access security with user workgroups and permissions then this will work...

If CurrentUser = "Clerks" Then
'do this
ElseIf Currentuser = "Managers" Then
'do that
Else
'do nothing
End If

Check out this thread for hiding tool bars...
hide all Access tool bars and menu bars
 

Users who are viewing this thread

Back
Top Bottom