This works for the loading
Code:
Private Sub Form_Load()If Not IsNull(Me.Removed) Then Me.btnRemoveSchool.Visible = False
If IsNull(Me.Removed) Then Me.btnReinstateSchool.Visible = False
If Not IsNull(Me.Removed) Then Me.btnReinstateSchool.Visible = True
If IsNull(Me.Removed) Then Me.btnRemoveSchool.Visible = True
End Sub
However clicking the buttons to enter in null or Date() and then making them visible accordingly still is my problem
and this gets them making them visible
Code:
Private Sub btnReinstateSchool_Click()
Me.Removed = Null
Me.btnRemoveSchool.Visible = True
End Sub
Private Sub btnRemoveSchool_Click()
Me.Removed = Date
Me.btnReinstateSchool.Visible = True
End Sub
I thought about using after update on the [remove] field but with no luck (in order to hide the buttons with an if)