RE: Can't get handle to a NotesDocument Jon Drake 10.Mar.06 11:03 AM a Web browser Applications Development 6.5.5Windows XP
Andre, thanks again and thanks to Timothy for finding my huge blunder in choosing the wrong method.
I am able to re-establish the handle to doc1 by first grabbing the value doc1.UniversalID and then resetting the object variable again using "GetDocumentByUNID".
Further I was able to successfully hold the RT contents on tempdoc and then later to use appendRTItem.
I still do not understand why I lost access to doc1 after closing the UI doc, since that was an object that I had been passing around through a few different routines all along - but that IS what was happening. My message boxes cleary showed that.
Again - thanks to Andre, Timothy and Narasimhan who contributed to this success!