Assign JPEG to TppImage
For two days now, I've been trying to assign a jpeg image from a database
blob field to a TppImage in Report Builder 6. I get a error message saying "
bitmap is not valid " error. The code below works if the blob contains a BMP
file. The code:
ppimgLogo.Picture.Assign(frmMain.tblConfigCompanyLogo);
Any help would greatly be appreciated.
Thanks.
Peter
blob field to a TppImage in Report Builder 6. I get a error message saying "
bitmap is not valid " error. The code below works if the blob contains a BMP
file. The code:
ppimgLogo.Picture.Assign(frmMain.tblConfigCompanyLogo);
Any help would greatly be appreciated.
Thanks.
Peter
This discussion has been closed.
Comments
to assign it manually.
You must include the ppJpeg in the uses clause.
source. I have an ancestor form with a ppReport that has a standard look and
feel of all my reports with the company logo. Can I assign a jpeg image to a
dbImage without a datasource?
won't need
You should not try to assign the JPEG to a TppDBImage, but rather use a
TppImage.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com