Foxtable(狐表)用户栏目专家坐堂 → 新增行如何判断为空?


  共有2736人关注过本帖树形打印复制链接

主题:新增行如何判断为空?

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


加好友 发短信
等级:九尾狐 帖子:2928 积分:20184 威望:0 精华:0 注册:2012/2/3 17:45:00
  发帖心情 Post By:2015/2/13 22:51:00 [显示全部帖子]

Dim sts() As  String  = {"规则","名称"}
If Tables("档案").Current Is Nothing Then
    Dim nr As Row = Tables("档案").Addnew()
    NR.Locked=False
Else
    For Each st As String In ats
        If Tables("档案").Current.isnull(st) = True Then
            MessageBox.Show("必填字段不能为空!","提示")
            e.cancel=True
        End If
    Next
    Dim nr As Row = Tables("部门档案").Addnew()
    NR.Locked=False
End If



 回到顶部