Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send A Report Attachment Via SafeMail

Status
Not open for further replies.

WB786

MIS
Mar 14, 2002
610
Here is what I need to do:

1 - Already have a button called Send Email.
2 - Need to be able to send a report as an attachment using SafeMail.myAttachments method.

I know how to use DoCmd.SendObject property but how do I combine the two togather so the report gets attached to the email and is sent to the TO address I have coded. I don't want the user to see the email popping up at all. The only thing they will see is your EMail Request Has Been Sent.

Thanks,

:)WB
 

Export your report as snapshot and use your SafeMail object.
 
That is exactly what I end up doing. Thanks for the tip though.

:)WB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top