-- 作者:susu312
-- 发布时间:2018/9/3 12:15:00
-- 判断当前表为空时
老师,您看橙色那里标记出来,当前加载为空,那么点击更改应该么反应,就是更改这个按钮要判断的出来这种情况。
那个按钮的代码是这样的,会报错为对象未绑定对象之类的错误?
With Tables("depList") If .Current("organName")="" AndAlso .Current("depName")="" Then Return Else Forms("更改部门").open End If End With
此主题相关图片如下:1.png

[此贴子已经被作者于2018/9/3 12:17:23编辑过]
|