There is no built in way to load an image from the Internet to a report but you could load it manually perhaps using the DetailBand.BeforePrint event. Inside this event, you could retrieve the current URL value from the Report.DataPipeline[] property then using internet connection components, such as Indy, to download the image object and update a TppImage.Picture property of the image located in your detail band.
There is an example of creating a PassThru function in the ReportBuilder Developer's Guide located in the \RBuilder\Developer's Guide\ directory. The DetailBand.BeforePrint event is available in Delphi as are all the other events available in RAP.
Comments
There is no built in way to load an image from the Internet to a report but
you could load it manually perhaps using the DetailBand.BeforePrint event.
Inside this event, you could retrieve the current URL value from the
Report.DataPipeline[] property then using internet connection components,
such as Indy, to download the image object and update a TppImage.Picture
property of the image located in your detail band.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
cheers
Sorry, I was unaware you were using RAP. You will need to create a
pass-thru function to preform a task like this in RAP.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
How can do a pass-thru function?
if I don?t use rap, how can acces to DetailBand.BeforePrint event?
thanks
Developer's Guide located in the \RBuilder\Developer's Guide\ directory.
The DetailBand.BeforePrint event is available in Delphi as are all the other
events available in RAP.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com