I am posting a form, to which I attach a document by referance.
When the reader opens the form he cannot see the attachment.
my code for generating the form:
<VBCODE>
Set MyNameSpace = Application.GetNameSpace("MAPI")
Set ReviewFolder = MyNameSpace.Folders("Mailbox - Snir Herer") 'For test
Set ReviewItem = ReviewFolder.Items.Add("IPM.Note.test23_snir")
ReviewItem.userProperties.find("Document Name").value = item.userProperties.find("Document Name").value
ReviewItem.Subject = "Review of: " & item.userProperties.find("Document Name").value
ReviewItem.To = Item.userProperties.find("Reviewers").value
ReviewItem.Attachments.add "W:\Test\Review\" & item.userProperties.find("Document Name").value, olByReference
ReviewItem.Display
item.save
item.close(2)
</VBCODE>
When the form is displayed I can see the attachment, but the reader cannot see the attachment.
How can I fix it?
