Solved

Access 2013: Customize sub-menu for reports

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now