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, "(e-mail address removed)",
, , "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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top