Solved

Access 2013: Customize sub-menu for reports

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

743 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

12 Experts available now in Live!

Get 1:1 Help Now