Changing "Visible" Property of Image Object from code

Mitch_____W

Mitch
Local time
Today, 00:28
Joined
Oct 31, 2001
Messages
73
I have 4 images on a report placed right on top of each other and all of their "Visible" Properties are set to "No". I need to be able to change the property to "Yes" for certain images with respect to certain field criteria. Any Ideas?

Thanks in advance!!

Mitch
 
In the OnPrint event of your detail section put something like this:

Me!Image1.Visible = False
Me!Image2.Visible = False
Me!Image3.Visible = False
Me!Image4.Visible = False
Select Case your criteria
Case Is
Me!Image1.Visible = True
Case Is
Me!Image2.Visible = True
.
.
.
End Select
 

Users who are viewing this thread

Back
Top Bottom