Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

get a picture

edited September 2004 in General
Hi,

I`ve in my Data base the url of a picture. It?s posible download the picture
un a report an print it?

thaks

Comments

  • edited September 2004
    Hi Felix,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2004
    But, How can I use the Inde inside the RAP?


    cheers
  • edited September 2004
    Hi Felix,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2004
    Hi,

    How can do a pass-thru function?
    if I don?t use rap, how can acces to DetailBand.BeforePrint event?

    thanks


  • edited September 2004
    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.