roblad
asked on
How do you link an image from a DBImage component in Delphi 2007 to a Bitmap component in Rave Reports?
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.
Basically, what I want is a line of code that looks like this
RvProject1.SetParam('Image
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.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.