Examples: SaveToDisk property

This example saves a document except for the "Temp" item. Other scripts in the form have initialized and manipulated the NotesDocument object and its items.

(Globals) (Declarations)
Dim doc As NotesDocument

Sub Queryclose(Source As Notesuidocument, Continue As Variant)
  Dim item As NotesItem
  Set item = doc.GetFirstItem("Temp")
  item.SaveToDisk = False
  Call doc.Save(True, False)
End Sub