Solved

Access 2013 and FILE tab

Posted on 2013-11-08
5
1,705 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

749 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