i have a mask that users fill with internet explorer. In this mask there's an upload control so they can attach a file. There's a hidden field that wants to get the attachment name. What i want is when i submit the mask, the launched agent (lotus script agent) finds the name of the attachment and puts it in my hidden field. Do you have an idea?
My code :
If contribution.HasEmbedded Then
Forall o In contribution.EmbeddedObjects
If ( o.Type = EMBED_ATTACHMENT ) Then
contribution.PhotoName = o.name End If
has a Type mismatch error on the forall line.
Thnaks by advance,