[AccessD] Print Dialog

Mackin, Christopher CMackin at Quiznos.com
Wed Jul 7 16:16:42 CDT 2004


Sure,

If I understand you correctly, just set up a public sub like the following:

Public Sub PrintIt
	docmd.RunCommand acCmdPrint
End Sub

Then in the Action properties of the toolbar object, set it to PrintIt, you can set the ToolTip and other properties as you see fit.

-Chris Mackin

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid
Sent: Wednesday, July 07, 2004 2:11 PM
To: Access Developers discussion and problem solving
Subject: [AccessD] Print Dialog



Is it possible to add code to a toolbar button which opens the print dialog 
to allow me to set the print options for an Access report?? Is it also 
possible to change the tooltip for a for same toolbar.

Martin
-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list