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 / Forms Programming / November 2005

Tip: Looking for answers? Try searching our database.

Toolbar programming

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sandy H - 17 Nov 2005 10:37 GMT
I have a custom toolbar that has a print button on it.  I want the print
setup dialog to appear when this button is pressed but can't find a way to
make this happen. When customising the toolbar, you can add the print button
and the properties for this are identical to those on the File->Print menu
item.  If anyone knows how to get the print setup to appear from a custom
toolbar, I would love to know.

Thanks in advance
Sandy

PS I have double posted this because the first newsgroup I sent it to
doesn't appear to be valid.
PC Datasheet - 18 Nov 2005 04:05 GMT
Function RptPrint()
On Error Resume Next
DoCmd.RunCommand acCmdPrint
End Function

Set the Action property of the Print button to:
=RptPrint()

Signature

                                       PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
                             resource@pcdatasheet.com
                                www.pcdatasheet.com

If you can't get the help you need in the newsgroup, I can help you for a
very reasonable fee. Over 1000 Access users have come to me for help.
Need a month calendar or 7 day calendar? Need appointment scheduling? Need
room reservations scheduling? Need employee work scheduling? Contact me!

>I have a custom toolbar that has a print button on it.  I want the print
> setup dialog to appear when this button is pressed but can't find a way to
[quoted text clipped - 9 lines]
> PS I have double posted this because the first newsgroup I sent it to
> doesn't appear to be valid.
StopThisAdvertising - 18 Nov 2005 09:29 GMT
> If you can't get the help you need in the newsgroup, I can help you for a
> very reasonable fee. Over 1000 Access users have come to me for help.
> Need a month calendar or 7 day calendar? Need appointment scheduling? Need
> room reservations scheduling? Need employee work scheduling? Contact me!

To the OP: Beware of this guy!!

Steve just does *not* care about the newsgroups. He has *no ethics at all*.
Steve *only* cares about making *money*, and he acts as if the groups are his private hunting ground.

-- He abuses this group and others for job-hunting and advertising over and over again
-- He is insulting lots of people here when they ask him to stop this
-- He posted as Steve, Ron, Tom, Rachel, Kathy, Kristine, Heather and ??? while asking questions
   (the latest 'star's': 'Access Resource' and Tom notmy@email.com and Andy)
-- He tries to sell a CD ($125,--) with FREE code he gathered from these groups here
-- There even has been a 'Scam-alert' about him which has been explained recently in the thread 'To all':
http://groups.google.com/group/comp.databases.ms-access/msg/46038ba2954261f9?hl=en
-- Also recently it became clear that he has been spamming innocent people asking questions:
http://groups.google.com/group/comp.databases.ms-access/msg/4f76d0ed3e5f58ad?hl=en

So why would ANYBODY ever trust a person like him and hire him?
********************************************************

Explanation and more links on this answer:
http://home.tiscali.nl/arracom/stopsteve.html

Arno R
 
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.