Hopefully a simple problem, struggling to find a suitable solution!
I have a textbox on a form which requires a date input in most scenarios and the code below has been working nicely so far (it's part of a number of ifs upon a button being clicked hence elseif
I now need to update this to include a second cmbstatusvalue of "12" as well as "11" to be excluded.
Any suggestions?
I have a textbox on a form which requires a date input in most scenarios and the code below has been working nicely so far (it's part of a number of ifs upon a button being clicked hence elseif
Code:
ElseIf Me.txte_date_due.Value & "" = "" And Me.cmbStatus.Value <> "11" Then
Me.txte_date_due.SetFocus
MsgBox "'Date due' is a mandatory field", vbOKOnly, "required field"
Exit Sub
I now need to update this to include a second cmbstatusvalue of "12" as well as "11" to be excluded.
Any suggestions?