Hi,I want to check whether is there any value present in RichText item before saving document.I have run code in Debugger is showing Null value before saving…
Set item=docCurrent.GetFirstItem(“SupportDescription”)
If Trim$(item.Text)=“” Then
item.text is showing Null enough it ias having value…
Is there any way i can check for the presence of content before saving?
Cheers
Merrin
Subject: Problem with Rich text item
You will have to send the changes to BAck End Document using
Call Uidoc.Refresh(true)
However, you code will just check for the text entry and would not work in case of attachments or pasted images/doc links…
Subject: Problem with Rich text item
In the backend-class you will not be able to see the contents of a richttext-item before saving your document. You might try looking via the frontend-class NotesUIDocument