Does anyone know if you can somehow show a BLOB picture stored in the database in a report?
Create a PictureBox in your Report, SourceExpression is the “BLOB-Picture”, e.g. Table 27, Field “Picture”. Put a “CALCFIELDS(Picture)” in OnAfterGetRecord(), and that’s it! Regards, Jörg Joerg A. Stryk Apollo-Optik, IT/ERP
Thanks Joerg, works perfectly.
Ok, but I want the picture to Cross multilple sections. The picture is almost as big as a printpaper (A4) and I want to use this as a watermark. Is that possible?? Regards Arjan
Andre : I suggest you use pre-printed paper with your logo. No, it’s not possible to split a picture box across several section of your report. You could try to cut your logo in 5 different BLOB and put each blob on a different section, but this sound like a bit a pain to manage, and I cannot guarantee that you would get the logo in one piece (that’s without a space between the bitmaps)
quote:
Originally posted by Tarek Demiati
You could try to cut your logo in 5 different BLOB and put each blob on a different section, but this sound like a bit a pain to manage…
I did this once (splitting a logo into several parts due to image size). Even though (or maybe because) the images were all in the same section, this was a major pain in the … [xx(] (The main problem was the spacing between the images, getting them all aligned correctly etc.) In short: Don’t do this. [;)]
Most printerdrivers support watermarks. Why not export the bmp, and use it as watermark in the printerdriver instead.