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

Picture in access report

Status
Not open for further replies.

Jahappz

Technical User
Jun 3, 2002
133
SE
Hello!

I got an database where i have a path stored to a picture

example: C:\picture.jpg

The database structure is like following:
Article.no:
picture:


i want the report to print the specified picture for the chosen article.no

How can i do this? embedded picture or?
Anyone have any examples for this function?

 
Typically, you would add an image control (name it imgPicture) to the detail section of your report. Add a text box with the path to the picture (name it txtPicture). Then include code in the On Format event like:

Code:
If Not IsNull(Me.txtPicture) Then
   Me.imgPicture.Picture=me.txtPicture
End If

Duane
Hook'D on Access
MS Access MVP
 
Can you give me an example database with this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top