S
Scott
When I run below event, there is syntax error about If statement. I got no
clue about it. Can someone point me out where is the error.
Private Sub txtFieldC_BeforeUpdate(Cancel As Integer)
If Not IsNull([FieldA]) AND IsNull([FeildB)] Then
MsgBox "The FieldB is empty. Please fill that first!"
Cancel = True
End If
End Sub
Thanks,
Scott
clue about it. Can someone point me out where is the error.
Private Sub txtFieldC_BeforeUpdate(Cancel As Integer)
If Not IsNull([FieldA]) AND IsNull([FeildB)] Then
MsgBox "The FieldB is empty. Please fill that first!"
Cancel = True
End If
End Sub
Thanks,
Scott