Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Vba email multiple attachments

$
0
0
Hi All,

I am stuck and would appreciate any help.:eek:

I working in Access 2010 and have the following code.
Code:

.attachments.Add ((DLookup("Attachment", "tblemailmessageattachments", "Location = '" & Forms![frm1]![LOC] & "' And Emptype = '" & Forms![frm1]![EmpType] & "'")))
And draws the following from a memo field type in the table: "S:\folder\filename1.pdf”; "S:\folder\filename2.pdf”; "S:\folder\filename3.pdf”.

The problem is I only the first document attaches.

I'm going nuts with this.

Cheers
J

Viewing all articles
Browse latest Browse all 13329

Trending Articles