HTML Email Code

L

Lamar

In MS Access 97 I had command button that would use "SendObject" to send an
email with report. The report ("Document') would be in the body of the
email. It would be pasted in the message of the email. When the database
got converted to 2003 then the report would attached to the email. I want
where it was pasted in not attached as a HTML document. I tried everything
but I can not get it work.
Below is my code. Thanks for any help.

stDocName = "Document"

DoCmd.SendObject acSendReport, stDocName, acFormatHTML, _
"DL Records Center", , , _
"Pull for Non-mon file", , True
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top