Hi,
I think I'm going insane. I have been messing with this code since early this morning and I cannot figure out why it doesn't work.
This code will not open a msgbox it just skips over that and closes the form.
Any help would be greatly appreciate.
Thanks,
Kevin
I think I'm going insane. I have been messing with this code since early this morning and I cannot figure out why it doesn't work.
Code:
Private Sub Close_Click()
If Me.txt_status.Value = "CLOSED" & Len(Me!Combo88 & vbNullString) = Null Then
MsgBox "Closed By Field is Required."
Else
DoCmd.Close acForm, "View_V3"
End If
End Sub
This code will not open a msgbox it just skips over that and closes the form.
Any help would be greatly appreciate.
Thanks,
Kevin