Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / May 2008

Tip: Looking for answers? Try searching our database.

Print Dialog Box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin - 07 May 2008 13:16 GMT
Hello,

I have a custom toolbar that displays whenever a report is viewed.  One of
the buttons is to print but I need the Print Dialog box to show so users can
select a different printer rather than the default.  I used "DoCmd.RunCommand
acCmdPrint" but when the user prints this it prints my main menu screen which
is open behind the scenes.

I think I need to add into the code to ues the DoCmd.RunCommand acCmdPrint
from the reports menu but I am unsure how to do this or indeed if this is the
correct answer.

Can anyone help?

Thank you.

Martin
Alex Dybenko - 07 May 2008 14:15 GMT
Hi,
have a look here:
http://www.mvps.org/access/reports/rpt0009.htm

Signature

Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com

> Hello,
>
[quoted text clipped - 17 lines]
>
> Martin
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.