Hi All
I have an Access 97 database that creates a report based on a query. I would like to add functionality so that users can email this report to the correct user. Unfortuantly we use Lotus Notes. How can I get the information automatically into the body of a Lotus Notes mail without being created as an attachment.
I have the following code on a button click.
Dim stDocName As String
stDocName = "Email Report"
DoCmd.SendObject acReport, stDocName, acFormatHTML, "john.doe@somewhere.com", , , "You have a new report"
This works sometimes by inserting the report directly into the lotus notes email, but other times it attaches it as an excel document, which I can not figure out.
Any help is appreciated.
Regards
Douglas Bell
I have an Access 97 database that creates a report based on a query. I would like to add functionality so that users can email this report to the correct user. Unfortuantly we use Lotus Notes. How can I get the information automatically into the body of a Lotus Notes mail without being created as an attachment.
I have the following code on a button click.
Dim stDocName As String
stDocName = "Email Report"
DoCmd.SendObject acReport, stDocName, acFormatHTML, "john.doe@somewhere.com", , , "You have a new report"
This works sometimes by inserting the report directly into the lotus notes email, but other times it attaches it as an excel document, which I can not figure out.
Any help is appreciated.
Regards
Douglas Bell