We help IT Professionals succeed at work.

Command button on a report possible?

SteveL13
SteveL13 asked
on
380 Views
Last Modified: 2014-01-15
Is it possible to put a command button on a report to close the report when clicked?
Comment
Watch Question

Infotrakker Software
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Dale FyeOwner, Dev-Soln LLC
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2010

Commented:
I use custom shortcut menus for all of my reports.

Take a look at mod_Menus in the attached.

In the Report Open event, I call MenuReport, which builds the shortcut menu, and then assign the ShortcutMenuBar to "MyReportMenu"

This menu has options for Print, Save as PDF, Send as PDF, and Close.  The ones I use usually have other options as well, Export to Excel, and several others, but those all involve a little more code and I don't have the time to pull those into this sample db at the moment
ReportMenu.accdb
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.