RobertIngles
Technical User
Hi all;
Trying to display a variety of bitmap images depending on content of a field on the form. I have started with a green "go" light - if the field text is "Pass" I want the image to display - if the field is "Fail" or "Testing" I want another image to be displayed.
Here is the code I have started with for Green - problem is that regardless of the field not saying "Pass" the image still appearing:
Private Sub Form_Load()
If Me.Launch_Test_Status = "Pass" Then
Me.GreenLight.Visible = True
Else
Me.GreenLight.Visible = False
End If
End Sub
Not sure what I am doing wrong here...
Thaks!!
Trying to display a variety of bitmap images depending on content of a field on the form. I have started with a green "go" light - if the field text is "Pass" I want the image to display - if the field is "Fail" or "Testing" I want another image to be displayed.
Here is the code I have started with for Green - problem is that regardless of the field not saying "Pass" the image still appearing:
Private Sub Form_Load()
If Me.Launch_Test_Status = "Pass" Then
Me.GreenLight.Visible = True
Else
Me.GreenLight.Visible = False
End If
End Sub
Not sure what I am doing wrong here...
Thaks!!