Nov 11, 2016 4:43 PM
82 Posts

something like this might help ....

  • Category: Application Development
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: RichText,backend
  • Replies: 4
 doc.saveoptions="0"
Set rti = doc.GetFirstItem("theLog")
rti.Appendtext "Something to be added to the log"

Call uidoc.Close(True)
Set newUIDoc = uiws.EditDocument(True,doc,False,,,True)
Delete uiDoc
Call newUIDoc.Document.ReplaceItemValue("SaveOptions","1")