TppDBImage Preview vs Print
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?
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?
This discussion has been closed.
Comments
Add ppJPEG to the uses clause of your .pas unit.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com