SendObject error 2046

R

Richard Lindsay

Hi all,
Got a problem that you might be able to give help on.....
Simple form with 1 command button with the following "on Click" event
code...

DoCmd.SendObject acSendTable, "ShoppingBasket", acFormatTXT,
"(e-mail address removed)", , , "Test", "This is a test", True

When I run it I always get the following error

Run Time error '2046'
The command or action 'sendobject' isn't available now
etc,etc.

My email is outlook express v6
My Access is 97 sp1
My OS is XP sp2
My mail works fine when run directly from outlook express.

Any ideas?

Regards Richard
 
R

Richard Lindsay

Problem solved,
I installed the latest version of Thunderbird Email, accepted it as the
default Email application for my PC. Closed it.
Then opened up Outlook Express, which asked me if I wanted it to be my
default Email application. I answered "yes" and now the SendObject
command works fine!
 

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

Similar Threads

email using sendobject in access 2
SendObject 1
Run time error 2046 6
error 2046 2
SendObject 1
CITRIX Problem Error 2046 ReportToPDF 2
SendObject fails 1
SendObject email error 2

Top