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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing a HYPERLINK

Status
Not open for further replies.

toptech

Programmer
Apr 12, 2001
71
US

Hi There.

I have added a hyperlink filed to my form.
If I click on the link it opens the link. The link is a diagram.

My question is: is there a way when printing the record
in a report, can we print the item that is linked. ie. print the diagram when printing the report.

Thanks for your help in advance.

Jeff
Top Tech Systems


Top Tech Systems

If you help 3 people and each one of those help 3 other people and so on, imagine all the people being helped.
 
I suppose the diagram is an image? If so, add an image control to your report called, say imgImage. Then add a little code to the Format event for the report Detail:
Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.imgImage.Picture = Me.LinkedTo.Hyperlink.Address
End Sub
Where Me.LinkedTo is the name of your Hyperlink field. I think you will need to use the full address of the image, that is, the absolute address.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top