Dynamic image in report

  • Thread starter Thread starter Alessandro Di Rago
  • Start date Start date
A

Alessandro Di Rago

I have a table it contains a text filed with a image's path. After there is
a report associated to table. I want see the image store in the text field.
To open report there is the follow routine:

"prova" is field's name
"Immagine1" is image object of the report, where will be view the image

Private Sub Report_Open(Cancel As Integer)
Immagine1.Picture = prova
End Sub

In this way i not see the image. How i can view a dynamic image?
 
Set the Format Event of the "Details" section of the report to the following
Event Procedure:

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me![Immagine1].picture = me![prova]
End Sub

(I found this from knownlenge base of Microsoft)
 
giannis said:
Set the Format Event of the "Details" section of the report to the following
Event Procedure:

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me![Immagine1].picture = me![prova]
End Sub

Thank you
 
Back
Top