How about the following, which works for me:
Sub Click(Source As Button)
Dim ws As New notesuiworkspace
Dim uidoc As notesuidocument
Dim doc As notesdocument
Set uidoc = ws.CurrentDocument
Set doc = uidoc.Document
doc.Fruit = "Mango"
Call doc.Save( True, True )
Call uidoc.Close
Set uidoc = ws.EditDocument (False, doc)
End Sub
There's also a discussion of similiar issues here:
http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/0c9721bb36ec449d85256ccd00521704?OpenDocument
Rupert Clayton
Chicago