02-02-2009 11:42 PM
Does anyone know how to change the filename of an attachment on an existing history item? I've tried setting the .filename for the attachment with no luck. It takes it without an error but it won't save the path i.e.
OurContactHistoryItem.Attachment.FileName = "C:\Temp\NewAttachmentFilename.doc"
OurContactHistoryItem.Attachment.DisplayName = "NewAttachmentFilename.doc"
No errors are generated and it works as if everything is ok. However, the Filename never really changes so the next time it is accessed, the same filename is used.
Does anyone know how to do this? Really simple and it works great with ACT! 6.0.