I have a Rich Text field in Lotus Notes. But I am not sure how to clear the contents of the field.
I have tried the following:
ReplaceItemValue
:
doc.ReplaceItemValue("RichTextField", "")
ReplaceItemValue
does not work for a Rich Text field.
vRTItem.Values = ""
:
Set vRTItem = doc.GetFirstItem( "RichTextField" )
vRTItem.Values = ""
This didn't help.
RemoveItem
:
Set vRTItem = doc.GetFirstItem( "RichTextField" )
Call doc.RemoveItem("RichTextField")
Set vRTItem = doc.CreateRichTextItem( "RichTextField" )
But none of them worked.