我无法从视图中检索文档。
这是lotusscript代码:
View notesTriggerView = db.getView("salesOrderTriggerView");
DocumentCollection dc = notesTriggerView.getAllDocumentsByKey("N", true);
Document triggerDocument = dc.getFirstDocument();
while(triggerDocument != null){
但是请保持为空。查看名称别名一切正确。
您不能使用空检查。而是检查Nothing
。
View notesTriggerView = db.getView("salesOrderTriggerView");
DocumentCollection dc = notesTriggerView.getAllDocumentsByKey("N", true);
Document triggerDocument = dc.getFirstDocument();
While Not (triggerDocument Is Nothing)
' Logic
Wend