Hello everyone!
I have a form which is tracking a process and as each step is completed, the user clicks a checkbox to activate the textbox where they can enter the date the step was completed.
If they click the checkbox to activate the textbox, I want to ensure that the textbox is completed. I have created a check in my form's BeforeUpdate event so that a message box pops up if they didn't complete an activated box, but I'm missing the part which sends them back to that textbox and does not allow them to save that record.
With my code, the message box pops up correctly, but then I can still move on without forcing the text:
If [ckStatusIssued] = False Then
[txtBatchIssueDate] = IsNotNull
Else
MsgBox ("Enter Date Record was Issued or Uncheck the box next to 'Issued'")
End If
Thanks for any help!
I have a form which is tracking a process and as each step is completed, the user clicks a checkbox to activate the textbox where they can enter the date the step was completed.
If they click the checkbox to activate the textbox, I want to ensure that the textbox is completed. I have created a check in my form's BeforeUpdate event so that a message box pops up if they didn't complete an activated box, but I'm missing the part which sends them back to that textbox and does not allow them to save that record.
With my code, the message box pops up correctly, but then I can still move on without forcing the text:
If [ckStatusIssued] = False Then
[txtBatchIssueDate] = IsNotNull
Else
MsgBox ("Enter Date Record was Issued or Uncheck the box next to 'Issued'")
End If
Thanks for any help!