为什么count<1?????????????????????????????
Dim DocCollection As notesDocumentCollection
Set note = session.DocumentContext
Set db=session.currentdatabase
Set view = db.getview("vwKuCun")
GoodsName = note.GoodsName(0)
Amount = note.OutStoreroomNum(0)
Set DocCollection = view.GetAllDocumentsByKey(GoodsName)
我的view中有这样的记录,可为什么DocCollection.count不是大于零???