SendObject error 2046

  • Thread starter Thread starter Richard Lindsay
  • Start date Start date
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
 
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!
 
Back
Top