关于“计算子表单”调用的问题!
wjzmy 2005-03-25 10:12:31 我打算在计算子表单打开的时候调用该子表单的域,然后赋值给它,我用的语句是:
dim session as notessession
dim doc as notesdocument
set doc = session.documentcontext
为什么doc却取不到任何内容呢,当调用doc的时候会提示我:object variant not set !!
这是为什么呢?难道写代码的位置也有限制吗?这段代码我在queryopen、postopen、webqueryopen和webqueryopen的代理里面都写过,为什么总是“object variant not set”呢?