P
PPCO
I'm trying to Require Entry in a Field on a form if another field has a
certain entry. I've tried the following code in Before Update:
If Me![Customer]="Mutual" and IsNull(Me![Returns]) Then
MsgBox "You must enter a value in Returns."
Cancel = True
[Returns].SetFocus
But it's giving me the error message:
"Block IF without End IF"
Thanks!
certain entry. I've tried the following code in Before Update:
If Me![Customer]="Mutual" and IsNull(Me![Returns]) Then
MsgBox "You must enter a value in Returns."
Cancel = True
[Returns].SetFocus
But it's giving me the error message:
"Block IF without End IF"
Thanks!