Insert Image from database to Access Report

Alvein17

New member
Local time
Today, 15:21
Joined
Sep 2, 2021
Messages
29
Hello guys,

Have a good day sir/mom.

i would insert image in database table to report. i already create table to store file location from image, how to insert the image to access report? i have try to insert with this way but didn't work.
1644219178447.png


table name: Test
field1: pic
field2: path location
1644219368065.png


i want to know and learn how to do it?

thank you All.
 

Attachments

Last edited:
Bind the report to the table and then bind the picture control to the field.
 
and if your Report is already bound to another table/query,
you add code to the Report's Load Event, to set the Picture
property of your Image control:

Private Sub Report_Load()
Me.Image0.Picture = DLookup("location", "test", "pic='Dwi'") & ""
End Sub
 
and if your Report is already bound to another table/query,
you add code to the Report's Load Event, to set the Picture
property of your Image control:

Private Sub Report_Load()
Me.Image0.Picture = DLookup("location", "test", "pic='Dwi'") & ""
End Sub
hai arnel, thank you for your answer and i would try it.
 

Users who are viewing this thread

Back
Top Bottom