Solved

Access 2013: Customize sub-menu for reports

Posted on 2014-09-18
5
429 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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 …

792 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