S
sayrevilleNJ
Hi,
I am using following code to send "Access Report" in an email. It use to
send Report in a body of email, but since we switched to Outlook mail client,
now it goes as an attachment. Can you please suggest how can I force the
report to go in Body instead of attachment in Outlook mail client.
stDocName = "rpt_myReport"
stLinkCriteria = "[ID]=" & Me![ID]
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
DoCmd.SendObject acSendReport , , , [mail], , , "New Subject"
I am using following code to send "Access Report" in an email. It use to
send Report in a body of email, but since we switched to Outlook mail client,
now it goes as an attachment. Can you please suggest how can I force the
report to go in Body instead of attachment in Outlook mail client.
stDocName = "rpt_myReport"
stLinkCriteria = "[ID]=" & Me![ID]
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
DoCmd.SendObject acSendReport , , , [mail], , , "New Subject"