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

TppDBImage Preview vs Print

edited October 2003 in General
I am using RB 6.2 and Delphi6.
I have a database with JPEG pictures stored as Blobs. I created a Select
all pictures query.
Hook it all up using a DBpipeline and a report. The report has one
component, TppDBImage.
I set the GRAPHIC TYPE to JPEG and then preview the report. Everything
works fine.
Now I add a button. In the button is Report1.PRINT.
I click the button and the report that works fine, when previewed now blows
up with:
"BITMAP IMAGE IS NOT VALID". It is like it the report doesn't see that the
GRAPHIC TYPE is JPEG.

Am I not seeing something?

Comments

This discussion has been closed.