G
Guest
Hello:
I have a combo box on my form. If the user chose N, then the label next to
it will show up; if Y, then not. When the form is open, the following VB code
works well, but after I save the record, close the form and re-open the form,
it does not work. You will see the label next to the combo box for every
record. Here is the code.
Private Sub TestFORM_AfterUpdate()
If Me.TestFORM = "N" Then
Me.Label100.Visible = True
Else: Me.Label100.Visible = False
End If
End Sub
Any suggestion on it?
Thanks in advance!
I have a combo box on my form. If the user chose N, then the label next to
it will show up; if Y, then not. When the form is open, the following VB code
works well, but after I save the record, close the form and re-open the form,
it does not work. You will see the label next to the combo box for every
record. Here is the code.
Private Sub TestFORM_AfterUpdate()
If Me.TestFORM = "N" Then
Me.Label100.Visible = True
Else: Me.Label100.Visible = False
End If
End Sub
Any suggestion on it?
Thanks in advance!