So I am turning off full menus and the nav bar in my database to prevent users from mucking stuff up. But I am trying to make myself a backdoor so I can make changes.
I added this bit of code:
if user = "admin" then
CurrentDb.Properties("AllowFullMenus") = true
CurrentDb.Properties("StartUpShowDBWindow") = true
end if
This does not enable these properties right away. I have to close the db and reopen it. And if a user opens the db after me then these properties will be true.
How can I make the menus and nav bar visible only when I log in?
I added this bit of code:
if user = "admin" then
CurrentDb.Properties("AllowFullMenus") = true
CurrentDb.Properties("StartUpShowDBWindow") = true
end if
This does not enable these properties right away. I have to close the db and reopen it. And if a user opens the db after me then these properties will be true.
How can I make the menus and nav bar visible only when I log in?