Hi, there`s a big bug when a rich text field is place in an access controlled section and users paste links in it. When the users that are not listed in the section to edit the RTF field, save the document, $links field is automatically deleted.
This is a headache because my users are migrating from 6.5.2 (where the application works OK) to 6.5.3 (where they experience this behaviour).
The solutions I try to rise is to use 2 RTF fields, one editable and the other computed, but the computed doesn`t show the former value.
Any suggestions?, Ideas?
TIA
Subject: URGENT! - Rich Text Field in an access controlled section
In the QuerySave of the form write code to copy the editable rich text field into the computed rich text field. Change the computed rich text field’s formula to the name of the computed rich text field.
QuerySave code:
Dim rtItemEdit As Variant
Dim rtItemComp As Variant
Set rtItemEdit = Source.Document.GetFirstItem(“RTEditable”)
If Not( rtItemEdit Is Nothing ) Then
If rtItemEdit.Type = RICHTEXT Then
Set rtItemComp = New NotesRichTextItem(Source.Document, “RTComputed”)
Call rtItemEdit.AppendToRTItem( rtItemComp )
End If
End If
That should do it.