Foxtable(狐表)用户栏目专家坐堂 → beforeclose错误


  共有1414人关注过本帖平板打印复制链接

主题:beforeclose错误

帅哥哟,离线,有人找我吗?
seal51
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:八尾狐 帖子:1837 积分:12984 威望:0 精华:0 注册:2013/6/10 9:23:00
beforeclose错误  发帖心情 Post By:2017/1/20 23:00:00 [只看该作者]

BeforeClose
详细错误信息:
未将对象引用设置到对象的实例。

 

If Tables("hsbcusd1").Current.isnull("年份") = True Then
    MessageBox.Show("年份不能为空,请输入年份!","提示", MessageBoxButtons.OK ,MessageBoxIcon.Information)
    e.Cancel = True
End If
If Tables("hsbcusd1").Current.isnull("年月") = True Then
    MessageBox.Show("年月不能为空,请输入年月!","提示", MessageBoxButtons.OK ,MessageBoxIcon.Information)
    e.Cancel = True
End If

 

请老师告知错在哪里? 这段代码如何正确写?


 回到顶部