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

Loading images at runtime!!!

edited September 2007 in General
Hi Everyone,

I writing an application that is using a report builder report.

On the reports detail band, i have some fields which are being displayed
(which all works fine) but i also have a field that has a path to an image
in the file system.

What i want to do, is display the image from the path stored in the database
next to the fields that i am retrieving from the database.

Is there an easy way to do this!!!

Thank you in advance.

Regards,



Trevor

Comments

  • edited September 2007
    DBImage can optionally be connected to a datafield that contains file
    namesThe images will be loaded from file automatically.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2007
    When you say DBImage,

    is the the DBImage component within the Delphi VCL, or is it your report
    builder DBImage.

    If so, what properties do i need to set to ake this work. Because that would
    be a better option.

    Regards,




    Trevor
  • edited September 2007

    TppDBImage component. Configure TppDBImage properties: DataPipeline and
    DataField (same as for any data-aware control in ReportBuilder).

    TppDBImage supports two scenarios:

    1. The DataField can be a blob field that contains images

    2. The DataField can be a string field that contains image file names, for
    example, 'c:\myPictures\Image1.bmp'


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.