1. Create a table in your database "USysRibbons", which has two fields "RibbonName" (Text) and "RibbonXML" (Memo). You will define which buttons should be available to the user in the RibbonXML field.
2. Add a record to USysRibbons
RibbonName = MainRibbon (or something that will let you know this is the Application default ribbon)
3. In the File Options, go to Current Database. Then scroll halfway down until you get to "Ribbon and ToolBar Options". There is a combo box "Ribbon Name". Choose the name of the ribbon you want to be the default for the application. If the ribbon does not appear in the list, there is a problem with the code.
There is no way of getting the "File" tab to disappear, but, you can modify which options are available to the users. I haven't done it in quite a few months, but I will go over my notes and get back to you.
Holding Shift Key, open database.
Click on File/Customize Ribbon. The options available on the ribbon are listed on the right hand side of the screen, uncheck all.
Access will prompt you to close the database and then reopen. When you reopen the database normally, the FILE tab will appear, but there will be no available options. Your "Main Ribbon" will have replaced the access ribbon.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.