I am trying to add an email attachment to an attachment type field in a table thru code. Does anyone have a routine that does this so I can see what I am doing wrong.
This is my code.
For Each Atmt In objMessage.Attachments
strFileName = Atmt.FileName
Set fldAttach = rstChild.Fields("FileData")
fldAttach.LoadFromFile strFileName
rstChild.Update
Next Atmt
This is my code.
For Each Atmt In objMessage.Attachments
strFileName = Atmt.FileName
Set fldAttach = rstChild.Fields("FileData")
fldAttach.LoadFromFile strFileName
rstChild.Update
Next Atmt