[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123456789[10] ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 07:06:36 04/07/00 Fri
Author: Michel
Subject: Re: Database and QuickReport
In reply to: Robson Branco 's message, "Database and QuickReport" on 18:26:45 04/06/00 Thu

Dear Robson,

Saving an image to a TBlobField can be accomplished with a TBlobStream. See the posting,

Re: save jpg to blob field -- Michel, 07:00:12 03/31/00 Fri

to see how it is done. Make sure the BlobStream is free'd after loading or saving. Also, if you want to have different image formats in the same table, you must have the image type (probably the extension) in another field.

I do not use quick reports, but by looking quickly at the documentation, TQRDBImage component has a picture property, which states that can support any VCL supported graphic. Envision is built with the VCL TGraphic framework. For example, when you include the EnReg.Pas in a uses clause, all the formats defined in the Envision.Inc file are registered. This should allow you to easily load any Envision support graphic in TQRDBImage:


Best regards,


> Dear Michel,
> I am thinking about using the Envision. I have some
> doubts:
> How to store the pictures (jpg/png) in database
> (TBlobField)?
> How to print the pictures (jpg/png) in the
> QuickReport?
> Exists some component for these operations?
> I wait responses.
> Best regards,
> Robson Branco

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.