关于notesvew.GetAllEntriesByKey的问题

function a() as notesviewentrycollection     .     .     .     set a=notesview.getallentriesbykey(key,true)     msgbox a.count  '这个是有数量的 endfunction 通过这个方法无法返回一个notesviewentrycol...显示全部
function a() as notesviewentrycollection
    .
    .
    .
    set a=notesview.getallentriesbykey(key,true)
    msgbox a.count  '这个是有数量的
endfunction
通过这个方法无法返回一个notesviewentrycollection对象,似乎对象只能存在于方法中,方法结束对象会被释放,有什么解决方法吗?收起
参与20

查看其它 15 个回答aili1wan的回答

aili1wanaili1wan软件开发工程师广州瑞星
代码肯定没问题的,我都测试了,估计是你定义出错,要放在代码的(Declarations)里面
政府机关 · 2015-09-09
浏览2731

回答者

aili1wan
软件开发工程师广州瑞星

aili1wan 最近回答过的问题

回答状态

  • 发布时间:2015-09-09
  • 关注会员:2 人
  • 回答浏览:2731
  • X社区推广