Solved

Access 2013 and FILE tab

Posted on 2013-11-08
5
1,614 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

831 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