belle
作者belle·2013-08-16 09:41
软件开发工程师·IT

UnprocessedDocuments属性

字数 541阅读 605评论 0赞 0
代理:
Sub Initialize
 Dim session As New NotesSession
 Dim db As NotesDatabase
 Dim collection As NotesDocumentCollection
 Dim doc As NotesDocument
 Dim i As Integer
 i=0
 Set db = session.CurrentDatabase
 Set collection = db.UnprocessedDocuments
 Set doc = collection.GetFirstDocument()

  While Not(doc Is Nothing)
  doc.DBPath="public/app_ReleasePass.nsf"
  Call doc.Save(True,False)
  Set doc = collection.GetNextDocument(doc)
 Wend
 Exit Sub 
End Sub

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

相关资料

X社区推广