j'ai du mal à supprimer l’icône liée a un fichier dans un champ Richtext.
D'après la technote d'IBM il faut procéder ainsi:
- Code : Tout sélectionner
Set rtitem=doc.GetFirstItem("Body")
Forall o In rtitem.EmbeddedObjects
If(o.Type=EMBED_ATTACHMENT) Then
Call o.remove
End If
End Forall
Je supprime bien le fichier, mais l’icône persiste.
Auriez vous une petite idée! Merci.
cdt
camille