Hi All,
In the body section of my report I have an image. This image should be shown or hiden based on a value from the database.
There a field called IsChanged. When this field is true (or 1), the image should be visible, otherwise, the image should be hidden (or the path changed to an empty value or something).
Any help would be appreciated.
Regards,
Jim
Dynamically show or hide an image
Re: Dynamically show or hide an image
Support · Oct 16, 2009Hello Jim,
You can add a Placeholder report element to the report and based on the value returned by the database, you can add the Image page element to the placeholder or not.
Thanks,
ceTe Software Support Team
Re: Dynamically show or hide an image
Forum member · Oct 19, 2009Thank you for the reply. However, that obviously raises the next question; how can I add an Image to the placeholder based on the value in the database? Or how can I hide the placeholder based on the value?
Re: Dynamically show or hide an image
Support · Oct 19, 2009Hello,
You cannot hide or unhide the Placeholder using any property. But you can control whether to leave the placeholder empty or add image to it.
You can refer to the Invoice example that shows use of Placeholder an how to add barcodes to it. Similarly you can add any page elements to the Placeholder report element.
Thanks,
ceTe Software Support Team