Richard Green
New member
- Local time
- Today, 12:27
- Joined
- Oct 25, 2007
- Messages
- 5
Can anyone help please. I have several controls on a Main Form. One of them is a combo box named "Designation". It calls from a table the employment status of a person. On my form when the word "RESIGNED" is displayed in the combo box, I want a label to become visible stating "This Person Has Resigned".I used this code in the Form Properties/On Current.
Private Sub Form_Current()
Me![ImageFrame].Picture = Me
If Me.Designation.Value = "RESIGNED" Then
Label101.Visible = True
Else
Label101.Visible = False
End If
End Sub
I don't get any error message, but I don't get the label either. Can someone help please?
Private Sub Form_Current()
Me![ImageFrame].Picture = Me
If Me.Designation.Value = "RESIGNED" Then
Label101.Visible = True
Else
Label101.Visible = False
End If
End Sub
I don't get any error message, but I don't get the label either. Can someone help please?