MS-Access 2007 Runtime SendObject Crash

Posted by ccraiff on Stack Overflow See other posts from Stack Overflow or by ccraiff
Published on 2009-07-16T15:24:20Z Indexed on 2010/12/27 3:53 UTC
Read the original article Hit count: 272

I have programmed an Access Database program using Access 2007. I have a button that points to the event: DoCmd.SendObject acSendReport to have it email a PDF report (acFormatPDF). Everything works fine in the normal Access 2007 program, but when a user opens the program with Access 2007 Runtime, when clicking on this button it goes through the normal steps (notifying Outlook, waiting for Allow/Deny clearance), and then after you click Allow, the program crashes with a Runtime Error.

Does anybody know what is going on here? Is this a normal error with Access Runtime? I have tried other file formats (RTF and XLS) instead of PDF, but it seems to be the SendObject command that is crashing the Runtime Environment?

Clarification: Access Runtime does not output an error code upon this crash. Just a window stating a "runtime error has occurred".

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about crash