Hello Everyone,
I have a form that has a field called LastName and a button called CmdEdu, which opens ups another form.
I want the CmdEdu button to be hidden whenever the LastName field is null.
I've tried a code in Form_Current() and it works in hiding the button when the field is null, however whenever I type something into the LastName field and then tab over to the next field, the button doesn't appear.
The code is:
If Nz(Me!LastName, "") = "" Then
Me!CmdEdu.visible = False
Else
Me!CmdEdu.visible = True
End If
Thanks in advance.