Solved

Access 2013: Customize sub-menu for reports

Posted on 2014-09-18
5
420 Views
Last Modified: 2014-09-18
Reworking a legacy Access database.  Found the opportunity to improve performance of many reports.  One change was to set the reports to pop up = yes.  Makes them easier to see and work with; many are several hundred pages long.

Challenge is the right click menu has functions we don't want exposed to user and functions we used to get on the ribbon are not available in ribbon or right click menu.  Best example is the Save As option in right click menu of a pop up style form.  The default in Save As is to save a copy of the Access report, not a copy of the report info. for example save as a .pdf which is something we use regularly.

How to either customize the right click memo in pop up report, or alternatively get the ribbon functions operating on the pop up view, to allow print and save as .pdf functions back in front of users?
0
Comment
Question by:VirtualKansas
  • 3
  • 2
5 Comments
 
LVL 84
ID: 40330160
Is this the web app you've been working on? Or a desktop database?
0
 

Author Comment

by:VirtualKansas
ID: 40330508
Desktop
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 40330960
Here's a MSFT article about creating rightclick menus in 2007:

http://office.microsoft.com/en-us/access-help/create-custom-menus-and-shortcut-menus-by-using-macros-HA010282509.aspx

Basically, you create a Macro Group for the commands you want to include in your Rightclick menu, then save that Macro group. Then, you create a second macro that calls the AddMenu action, and point that the MacroGroup you created earlier.

Next, you open the Object in Design view, and add the second Macro you created to the "Addins" tab of that item.

Finally, you set the Shortcut Menubar property of the object you want to associate with that right click menu.
0
 

Author Closing Comment

by:VirtualKansas
ID: 40331310
I did find this article, and another: http://msdn.microsoft.com/en-us/library/office/ff194247%28v=office.15%29.aspx using VBA instead of macros.  

Got stumped on the initialization of the CommandBar, just a bit out of my league, I guess.  Had to drop back after a day and get back to other tasks.  

This one is a minor nicety that we will value, when we crack the code.  Other pressing matters came up with the web app. back end.  I'll get back to this one with your advice and my thanks...
0
 
LVL 84
ID: 40331387
Trouble with using VBA is there is no GUI for doing this, which can be troublesome for novice developers. Long as it works, however ...
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

803 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