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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

attach report to email

Status
Not open for further replies.

pleasehelpalot

Instructor
Oct 4, 2005
92
US
Does anyone know of a way to directly attach an access report to an existing email?

thanks for any help
 
You have to Create an object depending on what type of email you are using.
Let's say Create Outlook Object and go from there.
I do not have an example of the code but it is a start.

Good Luck!

P.S. I am pretty sure you have to Print your Access Report into .pdf or Excel file and save in the directory.
When Outlook Object will be created and opened - you will point it to the directory where Report is saved and it will attach it to itself (Outlook I mean)
 
I realized if I preview it I can then save or print it as.pdf and then attach it to the email. Works good and the user is satisfied. The key was creating the .pdf so thanks for pointing me in the right direction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top