[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Access 2010 Print command on report

Posted on 2013-06-12
2
Medium Priority
?
630 Views
Last Modified: 2013-06-13
I have an application in 2010 and I have around 10 users and hide all the ribbons.  I would like to have a command button in the header of a report that will open the print dialog button.  

I tried "DoCmd.RunCommand acCmdPrint"  and it opens the dialog but if I select print, the box closes but nothing prints.  If I right click and say print, the dialog comes up and everything works fine.

I want to do this as opposed to a custom ribbon as my understanding is I would then have to add the custom ribbon to each machine.  My thought was that my idea would be much easier to do.

Any thoughts on if there is a better way to do this are appreciated as well.
0
Comment
Question by:vmccune
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 39241727
0
 
LVL 21
ID: 39242285
I want to do this as opposed to a custom ribbon as my understanding is I would then have to add the custom ribbon to each machine.
You're in luck because you can storing Ribbon Extensibility XML in a Table!

See: MSDN How to: Apply a Custom Ribbon When Starting Access

FWIW:
Many years ago I also used to hide the menu bars. One day I decided to tu a custom menu bar. My users loved it.  I have used a custom menus for many years now. I even make custom right-click /shortcut menus.  While it is harder for me as a developer, it is better for the users. So I keep doing it. The same is true with the Ribbon. I believe they user should come first over what is easier for the developer. The Developer does it once. The Users will use it over and over. For me that makes learning to program the Ribbon a "no brainer". My 2 cents.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

656 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