I have a Crystal Report report in my C# project.
And a variable 'myBinaryName' where I stored an image filename "risc1.jpg" to "risc9.jpg" in.
Now I want an image object in my Crystal Report that loads the image (located on my harddisk) depending on what name is stored in the 'myBinaryName' variable.
But I am a bit lost. Can't get this to work. Is it even possible to this? Please help!
Crystal Reports and images
Page 1 of 1
How to dynamicly load an image
2 Replies - 1293 Views - Last Post: 13 May 2009 - 03:26 AM
Replies To: Crystal Reports and images
Re: Crystal Reports and images
Posted 13 May 2009 - 03:26 AM
I say store the images in your database as either an image blob or a binary array.. then have your SQL determine what to get.
Thanks for your answer.
Only I don't use a database, but I get information from a third party via xml.
When I read this xml, I create a dataset and that's what I connect as source for my report.
When the code is finished with some calculations, there will be a value ranging 1 to 9.
Depending on that value, a picture "risc1.jpg" to "risc9.jpg" has to be shown on the report.
Page 1 of 1