SendObject Function

T

Tony

Hi

Hope somebody can help I am using the below code in Access 97 (Not my Fault
Work wont Upgrade) to export the Query Export Data into the Message area of
an E-Mail in HTML Format. At the minute this is coming through as an
attachment to Plain Text.

DoCmd.SendObject acSendQuery, "Export Data", acFormatHTML, "Tony Burns;", ,
, strSubject, strMsg, False

Any Help would be appreciated
 
A

AlCamp

Tony,
While you can control some aspects of the SendObject function, (To, From,
Subject, etc..) the basic "object" you're sending (a report, form,
query,...etc) are all sent as attachments to the email.
To the best of my knowledge, SendObject can't insert them into the "body"
of the email.
hth
Al Camp
 

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