Hello,
I try to apply the great Strongm code to display a web image in a report but have some issue when I try to "print" the report.
So the link where I found the solution is :
When I try to execute the code I obtain this error message from VBA : "compilation error, bad use of the property" with the '.picture' which is in highlighted
where Image0 is an image object in the detail part of the report
I really don't know why this error appear and i don't know how to solve it...
Do you have some idea ?
nb : Excuse my english, it's not my native language
Creafter
I try to apply the great Strongm code to display a web image in a report but have some issue when I try to "print" the report.
So the link where I found the solution is :
When I try to execute the code I obtain this error message from VBA : "compilation error, bad use of the property" with the '.picture' which is in highlighted
Code:
Option Compare Database
Public Sub Détail_Format(Cancel As Integer, FormatCount As Integer)
Set Image0.Picture = LoadPictureFromURL("[URL unfurl="true"]http://....jpg")[/URL] 'Source file - this text could obviously come from a field in a table, for example
End Sub
I really don't know why this error appear and i don't know how to solve it...
Do you have some idea ?
nb : Excuse my english, it's not my native language
Creafter