How do you link an image from a DBImage component in Delphi 2007 to a Bitmap component in Rave Reports?
Posted on 2008-06-10
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
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.