I posted this yesterday in a different forum, but thought someone here might have the solution. Sorry for the repeat if you've seen it before. Thanks!
I'm working with MS Access 2000 (SR-1) and using Lotus Notes 5.0.9a as my default email program. I'm having a problem using the "DoCmd.SendObject" method to generate an email with a report attached in *.rtf format. When I choose *.rtf as the output format the email is generated and the report attached, but the report format is changed to *.xls. The result is not identical to that achieved when the output format is *.xls. Further, it works fine with different formats (*.html, *.txt, and *.xls).
The code I'm using is:
DoCmd.SendObject acSendReport, stDocName, acFormatRTF, ContactName, , "myaccount@myaddress.com", "Message Subject", "Please review the attached information.", True
I'm working with MS Access 2000 (SR-1) and using Lotus Notes 5.0.9a as my default email program. I'm having a problem using the "DoCmd.SendObject" method to generate an email with a report attached in *.rtf format. When I choose *.rtf as the output format the email is generated and the report attached, but the report format is changed to *.xls. The result is not identical to that achieved when the output format is *.xls. Further, it works fine with different formats (*.html, *.txt, and *.xls).
The code I'm using is:
DoCmd.SendObject acSendReport, stDocName, acFormatRTF, ContactName, , "myaccount@myaddress.com", "Message Subject", "Please review the attached information.", True