Disable Shortcut menu based on user

chellebell1689

Registered User.
Local time
Today, 13:58
Joined
Mar 23, 2015
Messages
267
So now that I've got my login form working and what not, I want to be able to disable shortcut menus (when you right click on the title of the form/table/etc and the little menu drops down). I've got the following lines to disable the Ribbon, and the Navigation Pane.
Code:
DoCmd.ShowToolbar "Ribbon", acToolbarNo
DoCmd.SelectObject acTable, "Members", True
DoCmd.RunCommand acCmdWindowHide

I currently have it set to run those lines when the login form is loaded, then it reverses them ONLY if the admin logs in.

Thanks for the help! Let me know if I need more explanation.
 

Users who are viewing this thread

Back
Top Bottom