Can't open mail session while sending report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm using standard call
DoCmd.SendObject(acSendReport, ReportName, "", "", "", "", "", "", True, "")

On wondows XP sometimes I recive error mentioned in subject. On the other OS
this code works fine. I searched in google and i found many similar questions
without answer. Do you know how to handle this error?
 
Bartek,
I believe this is a known problem on some systems.
Try this to start...
http://support.microsoft.com/?kbid=283173

Also, there's no need to place "" in the SendObject function, when there
is no value. Just skip that argument with the next comma.
And, there's no need to continue the argument after your last value in
the arguments... (True).

DoCmd.SendObject(acSendReport, ReportName, , , , , , , True)

hth
Al Camp
 
http://support.microsoft.com/?kbid=283173

AlCamp, thanks for your replay, but:
- Application is written in A2000
- There's no such key in registry
- Problem occurs only on computers with WinXP
- There's default email client configured properly
- I probably tried everything that was written in this subject and still -
cant'open mail session, it's driving me crazy...
 
Bartek,
One of my clients had the same error message, and my link did the trick
for them... so I tried "shooting from the hip" with my response to you.
Sounds like you've put a bit of sweat equity into this already.

If you don't get any more responses to this post, then I'd suggest
re-posting ASAP. On that post, it would be best to try to let folks know,
in a bit more detail, what you've done already.

I'm no advocate of crossposting, but you might add one or two more NGs to
your post... say Forms and Macros.

I'll be "lurking" to see how this turns out...

Good Luck,
Al Camp
 
Back
Top