DoCmd.SendObject

SoxPats83

Registered User.
Local time
Today, 07:43
Joined
May 7, 2010
Messages
196
i have some coding in my form as follows:
Code:
 DoCmd.SendObject objecttype:=acSendForm, _
             ObjectName:=strDocName, outputformat:=acFormatHTML
what this does is send one of my forms as an attachment in my email form. what i would like to doe is have this form (which is in continuous format) send as the body, rather than an attachment.
 
I would instead create a report that displays the continous data the way you want it and email the report as an attachment.

Or you can try searching the forum for the key words [email form html] minus the brackets.
 
I would instead create a report that displays the continous data the way you want it and email the report as an attachment.

Or you can try searching the forum for the key words [email form html] minus the brackets.
do you happen to have a sample code of how to include the report as the body and not an attachment?
 
i don't know if a report would be possible for me either as my form is unbound. and the subform that i am trying to send as the body is unbound.
 

Users who are viewing this thread

Back
Top Bottom