ActiveReports Conditional Formatting - Picture Visibility
Posted
by Joe
on Stack Overflow
See other posts from Stack Overflow
or by Joe
Published on 2010-03-16T00:03:47Z
Indexed on
2010/03/16
0:09 UTC
Read the original article
Hit count: 613
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?
© Stack Overflow or respective owner