EmbeddedObjects : Type Mismatch

Hi all,

Could you help me?? please!!

I have a doc with a attachment done with a “File Upload Control”

The field $File is created successfully.

I try to copy this attachment to an other document but I can’t do it !

When I work on my sourcedoc ( with the attachment ); the property hasembbeded = true but the code

Forall o In Sourcedoc.EmbeddedObjects

Print o.name

End Forall

doesn’t work ( I have an error Type mismatch ), Why ?

Anyone have an idea how to copy an attachment done with a “File Upload Control” to an other document?

Thanks thanks thanks!!