georgesOne
Technical User
Hi All,
I have a database table with an attachment field. I want to e-mail this attachment... how can I do that?
I am familiar with the code for e-mails...: but the code ...Attachments Add... works only for files in folders:
With objOutlookMsg
.Attachments.Add "C:\Users\georgesOne\Desktop\Cost Reduction 2014.xlsx"
End With (= OK)
With objOutlookMsg
.Attachments.Add rst.Fields("CostDetails")
End With (= gives an error message: Error 3251 Operation is not supported for this type of object)
Any hint is welcome, georgesOne
I have a database table with an attachment field. I want to e-mail this attachment... how can I do that?
I am familiar with the code for e-mails...: but the code ...Attachments Add... works only for files in folders:
With objOutlookMsg
.Attachments.Add "C:\Users\georgesOne\Desktop\Cost Reduction 2014.xlsx"
End With (= OK)
With objOutlookMsg
.Attachments.Add rst.Fields("CostDetails")
End With (= gives an error message: Error 3251 Operation is not supported for this type of object)
Any hint is welcome, georgesOne