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 / Macros / May 2006

Tip: Looking for answers? Try searching our database.

Create a button that prints a report and emails a different report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nikki - 25 May 2006 04:58 GMT
Is it possible to create one button, when clicked prints a report and emails
a different report to email addresses based on a query?  
Alternatively one button that prints a report and another button that closes
the form as well as emailing the second report?

Any ideas?
Steve Schapel - 25 May 2006 05:24 GMT
Nikki,

If you are planning to use a macro to do this, use an OpenReport action
to print the first report, and SendObject to email the second report.
There is no problem with having more than one action in the one macro.

However, the SendObject macro is limited to one email address.  You
might find some good information about alternatives here...
 http://www.granite.ab.ca/access/email.htm

Signature

Steve Schapel, Microsoft Access MVP

> Is it possible to create one button, when clicked prints a report and emails
> a different report to email addresses based on a query?  
> Alternatively one button that prints a report and another button that closes
> the form as well as emailing the second report?
>
> Any ideas?
 
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.