A
Andre C
I have the following code in the before update section
If Me.primarycarechoice = Null Then
Cancel = True
MsgBox "This child has no carer. Please correct."
Exit Sub
primarycarechoice refers to acombobox. For some reason this never
triggers. I put a stop on the code and checked to see the value of
Me.primarycarechoice which reports being NULL and yet this code does
not trigger.
I am guessing it is something to do with the control being a combobox
so how do I check it?
If Me.primarycarechoice = Null Then
Cancel = True
MsgBox "This child has no carer. Please correct."
Exit Sub
primarycarechoice refers to acombobox. For some reason this never
triggers. I put a stop on the code and checked to see the value of
Me.primarycarechoice which reports being NULL and yet this code does
not trigger.
I am guessing it is something to do with the control being a combobox
so how do I check it?