Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you add the data from a report to the body of an e-mail.

Status
Not open for further replies.

tyewing

Programmer
Jun 24, 2009
3
US
I'm trying to add the fields in an Access report to the body of an e-mail instead of using the snapshot viewer and using an attachment... Does anyone know how to do this?

Thanks in advance.
 
A little history may help answer this.

I setup a macro in Access to automatically generate the report and send it as an attachment via Outlook e-mail. The managers that review this report do not want to have to open the attachment in the e-mail because they say that this slows them down. However, they would like to see the report data on the body of that e-mail instead. The attachment is set as HTML and includes a hyperlink and a picture (Not working) on the e-mails body.

Any suggestions on how to handle this?
 
I would probably write some code with Outlook automation that would generate the body of the email. The code would duplicate the report layout as much as possible. There are probably lots of resources on the web regarding Outlook automation.

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top