刷新文檔的計算域

Formular:
 @Command([ToolsRefreshAllDocs])

LotusScript:
  Dim s As NotesSession
 Dim db As NotesDatabase
 Dim view As NotesView
 Dim doc As NotesDocument
 
 Set s = New NotesSession
 Set db = s.CurrentDatabase
 Set view = db.GetView("View Name")
 Set doc = view.GetFirstDocument
 While Not doc Is Nothing
  Call doc.ComputeWithForm(False,False)
  Call doc.Save(True,False)
  Set doc = view.GetNextDocument(doc)
 Wend 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章