Email Report Error

M

MikeS

I have the following code in a module to email 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".

Can anyone give me any feedback on this?

Thanks in advance,
MikeS
 
Top