Run time error when using the SendObject command together with acFormatSNP

H

Hallgeir

I try to send a report as an snapshot to a mail recipient. I use the
following line of code:

DoCmd.SendObject acSendReport, "rptAppendix", acFormatSNP, "[email protected]",
, , "Test", "Disregard this message", False, ""

This workes just find on my home computer with access 2000, but when I try
it on my laptop with access 2003 I get the following error (I have tried to
translated from my norwegian version) :

Run time error '2282':
The formats that enable you to output data for actual object is not
availabel.

It's only the acFormatSNP that is a problem, if I use acFormatXLS it workes
fine. Does anyone have any ideas on what could be wrong?

Regards
Hallgeir
 
Top