Solved

Access 2013 and FILE tab

Posted on 2013-11-08
5
1,548 Views
Last Modified: 2013-11-15
I have a custom ribbon associated with a certain form and though I used the start from scratch command in the XML, Access (rather rudely it seems to me) insists on putting a FILE tab at the top of the form.  Is there some way to prevent this?

I would like the users not to be able, for example, to change options.
0
Comment
Question by:WoodrowA
  • 3
  • 2
5 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39635091
You cant completely remove it, but you can render it useless/harmless by customizing the ribbon to hide or disable the various 'backstage' options.

This is for Access 2010, but 2013 would be similar:
http://www.accessribbon.de/en/?FAQ:FAQ_Access_2010:2

http://www.accessribbon.de/en/index.php?Access_-_Ribbons:Ribbon_XML___Controls:Backstage_View

www.accessribbon.de as a whole is a fantastic resource for learning how to customize the ribbon.
0
 

Author Comment

by:WoodrowA
ID: 39635203
I have tried similar code but it has catches in 2013.  At the end of the XML for a custom Ribbon I have added the following:

<backstage>
  <button idMso="FileSave" visible="false"/>
   <button idMso="SaveObjectAs" visible="false"/>
  <button idMso="FileSaveAsCurrentFileFormat" visible="false"/>
  <button idMso="FileOpen" visible="false"/>
  <button idMso="FileCloseDatabase" visible="false"/>
  <tab idMso ="TabInfo" visible="false"/>  
  <tab idMso ="TabRecent" visible="false"/>
  <tab idMso ="TabNew" visible="false"/>
  <tab idMso ="TabPrint" visible="false"/>
  <tab idMso ="TabShare" visible="false"/>
  <tab idMso ="TabHelp" visible="false"/>
  <button idMso="ApplicationOptionsDialog" visible="false"/>
  <button idMso="FileExit" visible="false"/>
</backstage>

This, for reasons unexplained, does not seem to work UNLESS I  make a change in the File, Options, Current Database, Ribbon and Toolbar Options dialog.  If I delineate the Ribbon I am interested in there.  Things work, but, then again, there is a catch.  I can get the form to come up with nothing in the file menu - which is what I want. However, by doing what I do to fix that problem another problem is created when I exit the form. When I exit, the custom Ribbon for the form remains on screen.

When the Ribbon is not selected in the afore mentioned Dialog, the form closes as it should and the user is given the normal Access Ribbon.  But, unless I have that ribbon selected in the mentioned dialog, the items in the File menu are seen.  It's a kind of catch 22.  

Any ideas.
0
 

Author Comment

by:WoodrowA
ID: 39635249
One final comment.  Things would work fine without any hassle or fuss when I simply un-check Allow Full menus in the File, Options, Current Database, Ribbon and Toolbar Options dialog, but with one catch.   Although most menu items in the File tab are no longer visible, there there is one that is still there labeled "Privacy Options"; and it allow the user to get into the very things I don't want them to get into.  

Maybe the question is, "How do you hide or disable "Privacy Options"
0
 
LVL 61

Expert Comment

by:mbizup
ID: 39635658
Can you upload a sample of your database?  I'm still using 2010, but possibly could help.

Did you see the sample here? http://www.accessribbon.de/en/index.php?Downloads:21
Forgot to include that last night.

Also, this thread specifically addresses the privacy options and supposedly is resolved:
http://social.technet.microsoft.com/Forums/office/en-US/0db3e246-04b6-4948-a98c-4459fb65b1f9/privacy-options-in-access-2010?forum=officeitproprevious

Again Access 2010 - I haven't seen much/anything for 2013 yet.
0
 

Author Closing Comment

by:WoodrowA
ID: 39651460
This did not solve the problem but helped.  Thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now