Get Name of Attachment Using Lotus Script

I have a form that allows a user to attach a document over the web using a file upload control.

The attachment is saved and then I am using an agent to pick up and display all of the data entered (like a search engine).

I am tyring to get the attachment name and I have a column in my view set to Attachment Names.

However, when I try to access the attachment name using doc.ColumnValues(5), the value is returned empty.

I know the attachment has been saved. I am accessing all of the other document data using the field names (doc.Status(0), etc). Is there something similar for attachments. Or is there something special that I have to do to use the ColumnValues option?

Any ideas or suggestions would be greatly appreciated - thanks in advance.

Subject: Get Name of Attachment Using Lotus Script

You would need to find all the attachments in the document by using the getembeddedobject function. After that you the notesembeddedobject can give you the name. It’s all in the help.Susan