Pictures in a report

livin4rocknroll

New member
Local time
Yesterday, 23:22
Joined
Jul 27, 2004
Messages
9
Hi all
I am new to access reports but i am pretty experianced in other parts. What I need is this: I have a table with a bunch of people in it I have their names adresses phone numbers etc. I need some way to assign a picture of the person to each record (person) and then have each person's picture show up in a report. next to the rest of their info. Any help would be greatly appreciated.

Thanks
Josh B.
 
show the image

I ssume you have a field for the location of the image.## ;)

If you have an image frome on the report then hide it to start with so that it only appears fro an employee with an image.



Private Sub Report_Activate()
showImageFrame
If IsNull(Me.Photo) Then
Exit Sub
Else
If (IsRelative(Me.Photo) = True) Then
Me![ImageFrame].Picture = Path & Me![Photo]
Else
Me![ImageFrame].Picture = Me![Photo]
End If
End If
End Sub


Sub showImageFrame()
' Display the image control
Me![ImageFrame].Visible = True
End Sub
 

Users who are viewing this thread

Back
Top Bottom