how to display the Print dialog box

M

mchd

In an access application I have a custom toolbar with button used to manage
reports. I want to display on this toolbar a button to display the standard
print dialog box allowing the user to select some parameters before printing
the report (choosing the printer, the number of pages to print ...)

I know how to get a button on the toolbar to print the report but this
button don't display the print dialog box

thanks for any help
 
E

Ed

I have a macro called cmdPrint that simply runs the command "Print". Put
that on the toolbar with whatever button you choose.
 
A

Alphonse Giambrone

The built-in print option on the Access file menu does what you want.
In design mode, just drag it on to your toolbar while holding the ctrl key
down.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top