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!

Linked Image

Status
Not open for further replies.

solo7

Technical User
Mar 14, 2001
243
NO
How do I link an image in my report as it is formatted.

I know that the link on my machine works but when I put it onto another machine the image is not in the same address.
I have the following code to use but I'm not sure how to.
Code:
Dim db As Database
Dim DbDirectory, DbImage As String
Set db = CurrentDb()
   
DbDirectory = (Mid(db.Name, 1, Len(db.Name) - Len(Dir(db.Name))))
DbImage = DbDirectory & "\image.jpg"

Steady ... [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top