用NotesViewEntryCollection取文档遗漏

用NotesViewEntryCollection取文档,总有第一份无法取出但view中确实有,代码已做了判断,请教高手指点。用法如下: Set view=db.GetView("vw_view") Set ecn=view.GetAllEntriesByKey(Key,True) Set entry=ecn.GetFirstEntry Do While Not entry Is Nothing  If entr...显示全部
用NotesViewEntryCollection取文档,总有第一份无法取出但view中确实有,代码已做了判断,请教高手指点。
用法如下:
Set view=db.GetView("vw_view")
Set ecn=view.GetAllEntriesByKey(Key,True)
Set entry=ecn.GetFirstEntry
Do While Not entry Is Nothing
  If entry.Isvalid Then
   If entry.Isdocument Then
                         .....
   End If
  End If
  Set entry=ecn.Getnextentry(entry)
Loop收起
参与6

查看其它 4 个回答GoodStudy的回答

GoodStudyGoodStudy研发工程师NT
会不会是权限问题?
软件开发 · 2014-08-19
浏览1161

回答者

GoodStudy
研发工程师NT

回答状态

  • 发布时间:2014-08-19
  • 关注会员:1 人
  • 回答浏览:1161
  • X社区推广