I'm really new. I'm working in Access 2010. I did the following and my [Probation Ends:] is always invisible now. I have a Label Box that I changed to a Text Box. I set the Format for Visible to Yes and Can Shrink to Yes. The Control Source is [Probation Ends:] and that is the Name also. I added an Event as follows:
If the [Probation End Date] is null, then I want the [Probation Ends:] box to be invisible. What do you think is the problem?
Code:
Private Sub Probation_Ends__Click() If IsNull(Me![Probation End Date]) Then Me![Probation Ends:].Visible = False Else Me![Probation Ends:].Visible = True End If End Sub
Comment