if tables("表A").compute("count(_identify)","第一列 is null") > 0 then
msgbox("第一列有空值")
现在有了提示但是按键没控制到,就是没能控制按键下面代码入库的操作下面代码,怎么实现空值按键里面代码不起作用,下面有提示就是代码没控制,希望能实现空值不能操作下一步If Tables("制造日报表").compute("count(_identify)", "批次投入工时 is null") > 0 Then
msgbox("批次投入工时有空值不能完工")
End If
Dim a As Table = Tables("制造日报表")
Dim b As Table = Tables("制造日报表存档")
For r As Integer = 0 To a.Rows.Count - 1
Dim nr As Row = b.AddNew
For c As Integer = 0 To a.cols.Count - 1
nr(c) = a.Rows(r)(c)
Next
Next
For r As Integer = a.rows.Count - 1 To 0 Step - 1
a.rows(r).Delete
Next
[此贴子已经被作者于2025/1/9 14:54:52编辑过]
If Tables("制造日报表").compute("count(_identify)", "批次投入工时 is null") > 0 Then
msgbox("批次投入工时有空值不能完工")
return
End If