Set timeVc=timeVw.Allentries
Set tobeDeleted=timeVw.Getalldocumentsbykey("", true)
Call tobeDeleted.removeall(True)
刚才想确认一下getalldocumentbykey用空字符串是什么意思
以空字符串作为第一个参数的 GetAllDocumentsByKey 返回一个空集合。
如果要在视图的第一个排序列中获取所有值为空的文档,请将第一个排序列的公式更改为
@If(YourFieldName = ""; " "; YourFieldName)
它现在有一个空格而不是空字符串。
Set tobeDeleted=timeVw.Getalldocumentsbykey(" ", true)
然后返回所有这些文件。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句