How do i show picture on report if control is true ?? (1 Viewer)

hullstorage

Registered User.
Local time
Today, 16:37
Joined
Jul 18, 2007
Messages
213
Hi all,

I have a report called "orders" and on this is records for orders of the day inputted.

On this report I have a control called "urgent" and a picture called "UrgentPicture" with the picture set to visible.false ?

If any of the controls for Urgent is True then this will show my image, but this is not happening?

I am using this in the current event on the report

If Me.Urgent = True Then
Me.UrgentPicture.Visible = True
Else
Me.UrgentPicture.Visible = False
End If

Any suggestions ?

Thanks
 

Simon_MT

Registered User.
Local time
Today, 16:37
Joined
Feb 26, 2007
Messages
2,177
You need to map the full filename onto the UrgentPicture control.

Simon
 

Simon_MT

Registered User.
Local time
Today, 16:37
Joined
Feb 26, 2007
Messages
2,177
Create a Query behind your report 2 elements

FullPath where the images are located.
The dynamic File Name taken form the Data.

Here is an eample:

ImageFile: [Company Artist Directory] & [Artist] & ".jpg"

Simon
 

Users who are viewing this thread

Top Bottom