If DataTables("表B").Find("[状态] Is Null And 输入员 = '" & _UserName & "'") Is Nothing Then Return '那么返回End If
请看看:
http://www.foxtable.com/help/topics/1284.htm