By Adrian Marikar | 2/13/20 3:11 AM | Development - Notes / Domino | Added by Heiko Voigt
LotusScript function to count how many embedded attachments are in a Rich Text Field. Function accepts two arguments, NotesDocument and RTI name as string.
We came across a situation where we needed to be able to count how many attachments were in a rich text field in LotusScript.
Scenario – We had a table with four tabbed rows. In each tab was a rich text field (which was hidden unless user clicked on tab). We needed a way of viewing how many attachments (if any) each rich text field was holding without clicking on each tab to see.