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!

MS Access 2007 Attachment Field

Status
Not open for further replies.

ammodog6942

Programmer
Feb 5, 2008
7
US
Right now I am using this to send an email from a form:

Private Sub Command76_Click()

Dim strToWhom As String
Dim strMsgBody As String
Dim strSubject As String

strSubject = Me.Title
strToWhom = "Email Address"
strMsgBody = Me.Commentary

DoCmd.SendObject , , , strToWhom, strToCCWhom, , strSubject, strMsgBody, True

End Sub

I would like to be able to include the file(s) from the Attachment field in the email. Can anyone direct me into how I can accomplish this? Thank You
 
If you found a better solution please reply. If not here is how I did it:
thread705-1645879
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top