In ActiveReports, how can I change formatting based on values in the report data?
Specifically, I want to show or hide pictures based on a value in the data. The report gets bound to a list of objects via a set to its DataSource property. These objects have a Condition
property with values "Poor", "Normal", etc. I have some pictures in the report that correspond to the different conditions, and I want to hide all the pictures except for the one corresponding to the value.
Should I subscribe to the Format
event for the detail section? If so, how do I get to the "current record" data?