删除视图中所有文档,用什么方法好
删除视图中所有文档,用什么方法好?(c/s)
[解决办法]
view.allentries.removeall(true)
[解决办法]
Dim s As New NotesSession Dim db As NotesDatabase Set db=s.CurrentDatabase Dim view As NotesView Set view=db.GetView("viewname") Dim vc As NotesViewEntryCollection Set vc=view.AllEntries Call vc.RemoveAll(True)