Advertisement

06.10.2008 at 12:07PM PDT, ID: 23473515
[x]
Attachment Details

How do you link an image from a DBImage component in Delphi 2007 to a Bitmap component in Rave Reports?

Asked by roblad in Delphi Programming Language, Delphi Programming, Delphi Printing

Tags: Codegear, Nevrona, Rave Reports, Delphi Edition

So, I have a database with a bit of information and an image for each entry.  I am trying to then print a Rave Report using that data.  All of the text fields are quite easy, but what I am having trouble with is displaying the image.  The bitmap component can be given an input property, but when I pass the picture on to the property that I declared previously, I get an incompatible data type error, as the property expects a string, not a TImage.

Basically, what I want is a line of code that looks like this

RvProject1.SetParam('Image', DBImage1.Picture);

but will actually work if I pass it a picture.  Or, some way of creating a parameter in Rave Reports that can be passed a picture.Start Free Trial
 
Loading Advertisement...
 
[+][-]06.10.2008 at 12:22PM PDT, ID: 21754195

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Delphi Programming Language, Delphi Programming, Delphi Printing
Tags: Codegear, Nevrona, Rave Reports, Delphi Edition
Sign Up Now!
Solution Provided By: rfwoolf
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628