On my form I would like to have all but 1 field ("MembershipNo") hidden until the MemberNo is entered. One of the other fields is called FirstName.
I have tried the following code:
But the FirstName box is still visible when I load up a blank form.
I know it's going to be something really simple I'm doing / not doing wrong but I'm not sure what.
I have tried the following code:
Code:
Private Sub MembershipNo_AfterUpdate()
If MembershipNo = "" Then
Me.FirstName.Visible = False
Else Me.FirstName.Visible = True
End If
End Sub
I know it's going to be something really simple I'm doing / not doing wrong but I'm not sure what.
Last edited: