By
Published: 08 Aug 2001
I've been trying to use @AttachmentNames in a column to show all the attachments in a document. The problem is @AttachmentNames also shows the "STG-Graphic" associated with the Icon of the attached file. This quick formula filters out all the associated Icon graphics and leaves you with just the "FilesNames".
var_AttachNames := @AttachmentNames + "?#?";
var_STGNumbers := @Trim( @Middle( var_AttachNames ; "STG" ; "?#?" ) );
var_STGNames := @If ( var_STGNumbers != "" ; "STG" + var_STGNumbers ; "" );
@Trim( @Replace(@AttachmentNames; var_STGNames; "" ) );
Dig Deeper on Domino Resources