Hi Albert!
>What you have should work.
>
>I assume you specify this ribbon in the "other" tab setting for all reports.
>
Yes, I used that awesome code of yours to update every report's
property to use the report ribbon.
>In addition, you do have the show UI errors turned on so that any errors in
>the xml shows up?\
>
Yes. But maybe my wife's PC does not. I will check it out.
>And last but not least, you posted xml looks fine, but you are missing the
>xml heading part - I assume this was just left out for this post?
Yeah, I had butter fingers.
>
>The full xml you need is thus:
>
><customUI xmlns="
http://schemas.microsoft.com/office/2009/07/customui">
> <ribbon startFromScratch="true">
> <tabs>
> <tab id="tabReportOptions" label="Report Print and View
>Options">
> <group idMso="GroupPrintPreviewPrintAccess" />
> <group idMso="GroupPageLayoutAccess" />
> <group idMso="GroupZoom" />
> <group idMso="GroupPrintPreviewData"/>
> <group idMso="GroupPrintPreviewClosePreview" />
> </tab>
> </tabs>
> </ribbon>
></customUI>
>
That is what I have.
RibbonXML
<!-- Thanks Albert Kallal in comp.databases.ms-access for
this!!! Where did he get the Group prefix? -> AccessControls.xls
download from
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6627
-->
<tab id=""tabReportOptions"" label=""Report Print and View
Options"">
<group idMso=""GroupPrintPreviewPrintAccess"" />
<group idMso=""GroupPageLayoutAccess"" />
<group idMso=""GroupZoom"" />
<group idMso=""GroupPrintPreviewData""/>
<group idMso=""GroupPrintPreviewClosePreview"" />
</tab>
</tabs>
</ribbon>
</customUI>"
>
>The above should work just fine in runtime.
I googled this problem and did see some replies from you but I don't
think the problem was ever solved without extra coding.
http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/daab1fa9-6814-4239-9c37-c12050495b04/
http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/f679de52-dd58-4ba1-854c-bed1990eb74d/
-paul