以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 表属性click事件 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=105442) |
-- 作者:zoyong -- 发布时间:2017/8/19 15:12:00 -- 表属性click事件 表属性click事件 \'-----------------显示竣工-------------------------- If Tables("在建项目").current("是否竣工")= True Then Forms("项目收支").Controls("竣工").Visible = True Else Forms("项目收支").Controls("竣工").Visible = False End If 代码有效,但是窗口没有打开时会提示错误 .NET Framework 版本:2.0.50727.8669 Foxtable 版本:2017.8.11.1 错误所在事件:在建项目,Click 详细错误信息: 未将对象引用设置到对象的实例。 |
-- 作者:有点蓝 -- 发布时间:2017/8/19 15:34:00 -- 既然知道没有打开会错,那就加上判断咯 if Forms("项目收支").opened then 原来的代码 end if
|