I am working on a Front End for a split database that restricts functionality to just the form that loads on open. This is my XML for my custom ribbon:
And it works just fine, but the problem is that I have a report that opens in Print Preview mode by default and while that report is open I would like the Print Preview ribbon to be displayed.
I tried setting up a PrintReport custom ribbon that duplicates this except I replace everything under the "Home Tab" with <tab idMso="TabPrintPreviewAccess"/>, but that just causes Access to display the File button and nothing else when I open the report.
How can I utilize this custom ribbon to get the normal Print Preview window to appear when I open this report?
Rich (BB code):
<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="true">
<qat>
<sharedControls>
<control idMso="Undo" visible ="true" />
<control idMso="Redo" visible ="true" />
</sharedControls>
</qat>
<tabs>
<tab idMso="TabAddIns"/>
<tab id="Home" label="Home">
<group idMso="GroupClipboard"/>
<group idMso="GroupFindAccess"/>
<group idMso="GroupTextFormatting"/>
</tab>
</tabs>
</ribbon>
<backstage>
<button idMso="FileSave" visible="false"/>
<button idMso="FileCloseDatabase" visible="false"/>
<tab idMso="TabSave" visible="false"/>
<tab idMso ="TabInfo" visible="false"/>
<tab idMso ="TabRecent" visible="false"/>
<tab idMso ="TabPrint" visible="false"/>
<tab idMso ="TabHelp" visible="false"/>
<button idMso="ApplicationOptionsDialog" visible="false"/>
</backstage>
</customUI>
And it works just fine, but the problem is that I have a report that opens in Print Preview mode by default and while that report is open I would like the Print Preview ribbon to be displayed.
I tried setting up a PrintReport custom ribbon that duplicates this except I replace everything under the "Home Tab" with <tab idMso="TabPrintPreviewAccess"/>, but that just causes Access to display the File button and nothing else when I open the report.
How can I utilize this custom ribbon to get the normal Print Preview window to appear when I open this report?