If Tables("ar_table5").Current IsNot Nothing Then
For Each st As String In sts2
If Tables("ar_table5").Current.isnull(st) = True Then
MessageBox.Show("Pre show<- "& ST &" ->列未填写完整,不能保存!","提醒")
Return
End If
Next
Tables("ar_table5").Current("录入人")=_username
Tables("ar_table5").Current.save
Dim Result As DialogResult
For Each st3 As String In sts3
If Tables("ar_table5").Current.isnull(st3) = True Then
Result=MessageBox.Show("Post show填写不完整,不能保存Post show,是否返回!","提醒",MessageBoxButtons.YesNo)
If Result=DialogResult.Yes Then
Return
Else
Exit For
End If
End If
Next
Tables("ar_table5").Current("录入人")=_username
Tables("ar_table5").Current.Locked=True
Tables("ar_table5").Current.save
Dim bt1 As WinForm.Button = e.Form.Controls("Button1")
Dim bt2 As WinForm.Button = e.Form.Controls("Button2")
bt1.Enabled=True
bt2.Enabled=True
End If