Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a picture from Hyperlink

Status
Not open for further replies.

jennilein

Technical User
Mar 17, 2003
63
0
0
US
I have a column in my table which contains a hyperlink to a product picutre. I would like for the picture to open in a report based on that hyperlink.

How do I do this? I've done it before, but I can't remember how and don't have that database anymore to refer to.

Thanks in advance for the help!
 
You need an image frame in your report then use this code
in the format event of the report section the image is in.

In this code, [Image] is the field name and
is the image control name

If Not IsNull(Me.Image) Then
Me.imgFrame.Picture = Me.Image.Hyperlink.Address
End If

This assumes that the field in the table is defined as a hyperlink.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top