Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Access 2013 and FILE tab

Posted on 2013-11-08
5
Medium Priority
?
1,979 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 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

636 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