用NotesDatabase.search方法来统计符合条件的文档个数
SubClick(SourceAsButton)
DimsessionAsNewNotesSession
DimdbAsNotesDatabase
DimcollectionAsNotesDocumentCollection
'要搜索的文档的起始时间
DimdateTimeAsNewNotesDateTime("01/01/96")
Setdb=session.CurrentDatabase
'Search的第一个参数是用公式语言表达的搜索条件
Setcollection=db.Search("Form='qj'",date
下载地址
用户评论
非常感觉,帮我解决了一个工作任务,才学习 domino,不到1个月,很多东西都不懂,非常感谢