Hi,
Please help me,
I am running access 97
I have a piece of code which sends email(s) to various addresses. It used
to ork perfectly but since I upgraded to XP I get the following error
runtime error 2046
the command or action 'sendobject' isn't available now
The code is as follows;
DoCmd.SendObject _
OBJECTTYPE:=acSendQuery, _
outputformat:=acFormatHTML, _
TO:="xxxxxxx@xxx.CO.NZ", _
SUBJECT:="ACCOUNT PAYMENT NOTIFICATION", _
MESSAGETEXT:=MESSTEXT, _
EDITMESSAGE:=False
Any help much appreciated
Thanks
Nathan Sanders
Dan - 29 Apr 2004 16:03 GMT
Good Morning!
It appears from your example below that you have left out
the parameter for "ObjectName". Access needs to know which
query to use as in:
ObjectName:="Query1"
Good Luck!
>-----Original Message-----
>Hi,
[quoted text clipped - 25 lines]
>
>.