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

DB Picture

edited December 2005 in General
?I am storing pictures in a Firebird database. I want to include them in
my report. They are being saved in a blob file in the DB. The pictures
are JPG files.

When I drop a DB picture component on the report designer and hook it to
the field, it comes out blank.

Any help in how to handle pictures would be appreciated. Thanks in
advance.

Jim Shepard

--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited December 2005
    Is this in the IDE or in your app? If it's in your app (run time) try adding
    ppJPEG to your uses clasue.

    --
    Ed Dressel
    Team DM
  • edited December 2005
    I have built an enduser app. When the user drops a dbImage on the report
    designer and link it to the blob field that stores the jpg file, it does
    not show up. I did add the ppJPEG as you suggested...and that did not
    work. Anything else I am missing? Thanks again.



    adding
    in
    to

    Jim Shepard

    --- posted by geoForum on http://delphi.newswhat.com
  • edited December 2005
    you did right click over the image and set it's image type to JPEG, right?

    --
    Ed Dressel
    Team DM
  • edited December 2005
    I did right click and select it. And I still get a blank for the JPeg. I
    know it exists becasue the graphic tool in Deplhi shows the pictures.
    But the dbImage tool in RB is not showing it. Anything else I am leaving
    out?

    right?
    report
    does
    pictures
    it

    Jim Shepard

    --- posted by geoForum on http://delphi.newswhat.com
  • edited December 2005
    I did this. I selected JPeg when I right clicked. But it still doesnt
    show. Anything else I am missing?

    right?
    report
    does
    pictures
    it

    Jim Shepard

    --- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.