M
MikeS
I have posted this question a few times but have not gotten any response.
Hopefully, someone can give me some direction on how to resolve this issue.
Here is the code I have for emailing a report.
DoCmd.SendObject acSendReport, strReportName, acFormatHTML, strRec, , , _
"Mal " & strTitleName & " - " & MyDate, , False, ""
The report works fine as long as it is not more than 1 page. If more than
one, I get a general message "Microsoft Access has encountered a problem and
must shut down".
In addition, the report shows up as an Excel attachment instead of being in
HTML format in the body of the text message.
Can anyone give me any feedback on this?
Thanks in advance,
MikeS
Hopefully, someone can give me some direction on how to resolve this issue.
Here is the code I have for emailing a report.
DoCmd.SendObject acSendReport, strReportName, acFormatHTML, strRec, , , _
"Mal " & strTitleName & " - " & MyDate, , False, ""
The report works fine as long as it is not more than 1 page. If more than
one, I get a general message "Microsoft Access has encountered a problem and
must shut down".
In addition, the report shows up as an Excel attachment instead of being in
HTML format in the body of the text message.
Can anyone give me any feedback on this?
Thanks in advance,
MikeS