SendObject problem

  • Thread starter Thread starter Keith G Hicks
  • Start date Start date
K

Keith G Hicks

Access 2003, Outlook 2003

DoCmd.SendObject acSendNoObject, , , , , , strEmailSubject, strEmailBody,
True

This opens up a new email message as expected. There are 3 problems.

1. The new message seems to be "modal" in that I can't do anything else
until I send the message. Shouldn't I be able to just go back to my
application and do whatever I need to do while leaving the new message up
for later editing? Code seems to be suspended at this point.

2. WHen I do send the message it seems to foul up subsequent code. Not sure
I can explain this yet. I haven't fully investigated it.

3. Even if I set the last parameter above from TRUE to FALSE, the message
shows up for editing.

I'm also using some Ghostscript code that I found which allows me to mail
pdf's as attachments. This code also opens up a new email message but does
not create the same problems above. I'd use that code to run the problem
message above but it requires me to supply an attached report. I don't want
to do that here.

Any ideas?

Thanks,

Keith
 
Never mind. I solved # 1 & 3 by using the one of the functinos that I have
in the ghostscript code I found. #2 had nothign to do with the email issue.
Solved that one by moving some code around.
 
Back
Top