I have two if statements below, is anything returns null on the first if statement I want it to stop and proceed to the form. But as is both if statements run and I end up on the nutrition screen.
If IsNull(Me.Catheter.Form!Combo81) Or IsNull(Me.Catheter.Form!Combo58) Then
MsgBox "You have missing fields in Catheter"
Me.Catheter.Visible = True
End If
If IsNull(Me.Nutrition.Form!Combo29) Then
MsgBox "You have empty fields in Nutrition"
Me.Nutrition.Visible = True
End If
Any help is appreciated, thanks!
If IsNull(Me.Catheter.Form!Combo81) Or IsNull(Me.Catheter.Form!Combo58) Then
MsgBox "You have missing fields in Catheter"
Me.Catheter.Visible = True
End If
If IsNull(Me.Nutrition.Form!Combo29) Then
MsgBox "You have empty fields in Nutrition"
Me.Nutrition.Visible = True
End If
Any help is appreciated, thanks!