I think you are getting a couple of things confused. I think what you really
want is:
If Me.ShippingAddressPatient = True Then 'It is checked
If IsNull(Me.Text43) Then 'Nothing is entered
MsgBox "This Field Is Required"
Cancel = True 'Stop the Update
End If
End If
Breaking it down line by line:
'Look to see if the control ShippingAddressPatient is checked
If Me.ShippingAddressPatient = True Then 'It is checked
'It is checkeced, so we look to see what value is in the control Text43
'If nothing has been entered, then it will evaluate to Null
'Use the IsNull function to determine whether anything has bee entered.
If IsNull(Me.Text43) Then 'Nothing is entered
'Text43 has nothing in it, so present a message box to the user to
tell them
'the field must have a value
MsgBox "This Field Is Required"
'Prevent the record from being updated in the table
Cancel = True 'Stop the Update
End If
End If
Hi I have a similar issue that you responded to. This is what I tried:
[quoted text clipped - 55 lines]