I am using Access 2013 in Windows 8.
The security features are gone (grumble, grumble). While I understand that those feature were not really security, they did have value. My goal is simply to avoid accidental changes not malicious ones. I want the user to be aware that they are in "can mess things up" mode.
I would like to have a command button on a form that will un-hide the navigation pane and menus and a button to re-hide them. Is this possible?
I am assuming that the "Office" button that is discussed is the same as my file tab.
"File" >>> "Options" >>> "Current Database"
Is there VB code that can be used to control changes in the Access Options current database?
It would be much easier to have a button to allow full use of the navigation pane than to make a form to open each object in design.
Thanks for your time.
You can hide the pane:
I borrowed this code way back in the ages and it still works.
Make a form with two simple buttons (I used the default here): - Private Sub Command1_Click()
-
-
DoCmd.SelectObject acTable, , True
-
DoCmd.RunCommand acCmdWindowHide
-
-
End Sub
-
-
‘unhide
-
-
Private Sub Command2_Click()
-
-
DoCmd.SelectObject acTable, , True
-
-
End Sub
This worked as of ACC2010
If you need to hide the ribbon that's a slightly different barrel of monkies: - If Not CommandBars.GetPressedMso("MinimizeRibbon")
-
Then
-
CommandBars.ExecuteMso "MinimizeRibbon" '<this will toggle state, hence the check first.
-
End If
THen there's - DoCmd.ShowToolbar "Ribbon", acToolbarYes
- DoCmd.ShowToolbar "Ribbon", acToolbarNo
And then you should search on "MS ACCESS 2010 custom ribbons" using your favorite engine. It's a dozy!
Oh, BTW, I can bypass everyone of these actions quite easily; thus, the more savy users will figure it out.
2 35544 zmbd 5,501
Expert Mod 4TB
You can hide the pane:
I borrowed this code way back in the ages and it still works.
Make a form with two simple buttons (I used the default here): - Private Sub Command1_Click()
-
-
DoCmd.SelectObject acTable, , True
-
DoCmd.RunCommand acCmdWindowHide
-
-
End Sub
-
-
‘unhide
-
-
Private Sub Command2_Click()
-
-
DoCmd.SelectObject acTable, , True
-
-
End Sub
This worked as of ACC2010
If you need to hide the ribbon that's a slightly different barrel of monkies: - If Not CommandBars.GetPressedMso("MinimizeRibbon")
-
Then
-
CommandBars.ExecuteMso "MinimizeRibbon" '<this will toggle state, hence the check first.
-
End If
THen there's - DoCmd.ShowToolbar "Ribbon", acToolbarYes
- DoCmd.ShowToolbar "Ribbon", acToolbarNo
And then you should search on "MS ACCESS 2010 custom ribbons" using your favorite engine. It's a dozy!
Oh, BTW, I can bypass everyone of these actions quite easily; thus, the more savy users will figure it out.
You ROCK!!!
Thank you - *kisses*
Ya - I know it doesn't take much to bypass. Super easy, even I figured that one out earlier today without asking - LOL.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: SteamyFrog |
last post by:
I'm looking to place an icon for my app on the Navigation Pane (lower right
of task bar), yet haven't been able to find any information on how to do
this. The app basically is a running file...
|
by: Wayne |
last post by:
I've been looking and maybe I've missed something but is there a way
to undock the navigation pane or at least not have it "always on top"
in design view? I realize it can be minimized, but having...
|
by: Patrick |
last post by:
I have set the Navigation Pane so that it is not displayed on startup
of my application. However, if I programmatically link to an external
Access table, the navigation pane automatically...
|
by: worked |
last post by:
I have a script that hides / shows form elements, and wrapped in a tab script (tab navigation). When the code is duplicated (per tab content), the hide / show function works for the first tab but...
|
by: dmorand |
last post by:
I'm having some trouble with my javascript which is supposed to hide/show a div element. I have to click on the link twice before it'll hide. I can't seem to figure out why the first click does...
|
by: chupachup32 |
last post by:
I'm a student trying to teach myself to use access. I somehow managed
to minimize my navigation pane and now I can't figure out how to
reopen it. The Access handbook says that, even when minimized,...
|
by: Bob |
last post by:
Hi,
In runtime environement my access 2007 application dont show the Navigation
Pane, anybody have this problem ?
Thank's for reply
Bob
|
by: Walter Raymond |
last post by:
Our backend Access 2007 database will be locked but we don't want our users to have access to the Navigation Pane, accidental or otherwise.
W
|
by: Mihail |
last post by:
Hy !
I use following code to print out a report WITHOUT open it
Private Sub cmdPrintReportRAM_Click()
DoCmd.SelectObject acReport, "ReportName", True
DoCmd.PrintOut acPrintAll, , , , , 1...
|
by: anewuser |
last post by:
Hi,
At the risk of repeating myself in other questions. I have a multi-user login screen which works using the following code:
Option Compare Database
Private Sub Login_Click()...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |