Access World Forums

Access World Forums (https://www.access-programmers.co.uk/forums/index.php)
-   General (https://www.access-programmers.co.uk/forums/forumdisplay.php?f=6)
-   -   [SOLVED] Ribbon Buttons Missing (https://www.access-programmers.co.uk/forums/showthread.php?t=306951)

PleasantB 09-20-2019 02:35 PM

Ribbon Buttons Missing
 
1 Attachment(s)
I created a Ribbon for my application, with the following XML:
Code:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
  <ribbon startFromScratch="true">
    <tabs>
      <tab id="dbCustomTab" label="Lone Mountain" visible="true">
        <group id="dbCustomGroup" label=" ">
          <button idMso="PrintDialogAccess" size="large" label="Print" enabled="true"/>
          <button idMso="FileSendAsAttachment" size="large" label="Email" enabled="true"/>
          <button idMso="ExportExcel" size="large" label="Excel" enabled="true"/>
          <button idMso="ExportWord" size="large" label="Word" enabled="true"/>
          <button idMso="FileExit" size="large" label="Exit" enabled="true"/>
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>

However, only the "Print" and "Exit" buttons are shown.
I am creating this ribbon, as part of an A2K3 upgrade, to replace this toolbar.
https://www.access-programmers.co.uk...1&d=1569018819

How can I solve this issue? Thanks in advance.

Micron 09-20-2019 05:12 PM

Re: Ribbon Buttons Missing
 
I copied your code and added it to a ribbon test db I have and I get 4 greyed out buttons - Print, Email, Word and Excel. Did you add any of these after the print and exit button code was already established? If so, maybe you didn't close and reopen or do a compact/repair?

arnelgp 09-20-2019 10:18 PM

Re: Ribbon Buttons Missing
 
ribbon menu is not introduced until a2007.

see this:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">

Tera 09-20-2019 10:22 PM

Re: Ribbon Buttons Missing
 
Quote:

Originally Posted by arnelgp (Post 1641268)
ribbon menu is not introduced until a2007.

see this:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">

https://docs.microsoft.com/en-us/ope...1-f5499559f93a

isladogs 09-20-2019 10:29 PM

Re: Ribbon Buttons Missing
 
Arnel
The OP stated he/she is doing this 'as part of an A2K3 upgrade' i.e. 2007 or later

PleasantB
Are you aware that these items are part of existing ribbons such as External Data?

Tera
That's a useful link in your deleted post. Is it OK if I restore the post?

Tera 09-21-2019 07:32 PM

Re: Ribbon Buttons Missing
 
Quote:

Originally Posted by isladogs (Post 1641271)
Arnel

Tera
That's a useful link in your deleted post. Is it OK if I restore the post?

Of course. why not?
I thought it's irrelevant and deleted it. If you think it may be useful, restore it please.

isladogs 09-21-2019 11:14 PM

Re: Ribbon Buttons Missing
 
Restored it.

PleasantB 09-23-2019 06:47 AM

Re: Ribbon Buttons Missing
 
Thank you for all of your responses.

Micron: I honestly can't remember whether I progressively added the buttons or not. However, I have both closed and reopened and executed a compact/repair to no avail. I even tried creating a new row in USysRibbons in case the original was stale or something.

arnelgp: I am using Microsoft Access for Office 365 version 1902. I was simply stating that the original database was developed using Microsoft Access 2003, for additional context.

isladogs: Although these commands are on other ribbons, the client desires having a single ribbon tab with these specifics commands, just as they had a single toolbar with them in Access 2003.

arnelgp 09-23-2019 06:50 AM

Re: Ribbon Buttons Missing
 
did you make it work?

PleasantB 09-23-2019 07:06 AM

Re: Ribbon Buttons Missing
 
The "Allow Full Menus" option under Current Database -> Ribbon and Toolbar Options was unchecked.
After enabling this option, the missing ribbon items appeared!

arnelgp 09-23-2019 07:14 AM

Re: Ribbon Buttons Missing
 
1 Attachment(s)
check this one.

Micron 09-23-2019 07:17 AM

Re: Ribbon Buttons Missing
 
Thanks for reporting the solution!


All times are GMT -8. The time now is 07:53 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World