G
Guest
I have included a number of simple graphics on our work tickets. The graphic
varies by the product (ItemID) being produced. I am trying to use the visible
property to hide or show the appropriate graphic based on the item selected
from the ItemID drop down box.
So far I have the following, but it is not working:
Private Sub Report_Open(Cancel As Integer)
If Reports!WorkTicket!ItemID.Value = "pillow" Then
Reports!WorkTicket!PillowFig.Visible = True
Else: Reports!WorkTicket!PillowFig.Visible = False
End If
End Sub
Any help is greatly appreciated.
varies by the product (ItemID) being produced. I am trying to use the visible
property to hide or show the appropriate graphic based on the item selected
from the ItemID drop down box.
So far I have the following, but it is not working:
Private Sub Report_Open(Cancel As Integer)
If Reports!WorkTicket!ItemID.Value = "pillow" Then
Reports!WorkTicket!PillowFig.Visible = True
Else: Reports!WorkTicket!PillowFig.Visible = False
End If
End Sub
Any help is greatly appreciated.