Hi guys,
i would like to hide/show button depend on is there anything in a fielld.My current code is not working at the moment so pls help me where is the mistake:
Private Sub Form_Load()
If Form![fourniturenErrorsub]![Code Field] <> Null Then
errorbtn.Visible = True
Else
errorbtn.Visible = False
End If
i would like to hide/show button depend on is there anything in a fielld.My current code is not working at the moment so pls help me where is the mistake:
Private Sub Form_Load()
If Form![fourniturenErrorsub]![Code Field] <> Null Then
errorbtn.Visible = True
Else
errorbtn.Visible = False
End If