T
Tom
I need to have a Message Box that pops up, after updating
a 'memo' field in a subform, if a 'txt' field in a main
form is empty, reminding user to fill it out.
I used the following code in the BeforeUpdate event of the
memo field:
If IsNull(Me.Parent!NameOfTextField) Then
MsgBox "Please fill out text field on main form",,"Txt
field Empty"
Cancel = True
End If
but I got a problem, the message box keeps coming up and
won't let me click on anywhere else.
Help me figure this out,
many thanks,
a 'memo' field in a subform, if a 'txt' field in a main
form is empty, reminding user to fill it out.
I used the following code in the BeforeUpdate event of the
memo field:
If IsNull(Me.Parent!NameOfTextField) Then
MsgBox "Please fill out text field on main form",,"Txt
field Empty"
Cancel = True
End If
but I got a problem, the message box keeps coming up and
won't let me click on anywhere else.
Help me figure this out,
many thanks,