Hi, I have attachement(in one of the richtext field), I want to know which contain word or excel, if contains word msg should come “MS WORD”, if excel contains msg should come “excel”.
Please provide me if you have code for this
Thanks in advance…
Hi, I have attachement(in one of the richtext field), I want to know which contain word or excel, if contains word msg should come “MS WORD”, if excel contains msg should come “excel”.
Please provide me if you have code for this
Thanks in advance…
Subject: Attachement
I am using this in a view column, displaying only icons:
@If(@RightBack(@AttachmentNames; “.”) = “doc”; 142; @RightBack(@AttachmentNames; “.”) = “DOC”; 142; @RightBack(@AttachmentNames; “.”) = “rtf”; 142; 80)
This tells me what type of file it is. At least in this instance, I am checking for MSFT Word.