Contitions Not Working With Totals

Stimulsoft Reports.NET discussion
Post Reply
mace242
Posts: 43
Joined: Tue Aug 21, 2007 9:24 am

Contitions Not Working With Totals

Post by mace242 »

I have a simple report of names that is grouped by surname. One of the fields in the databand is {Count()}. This shows correctly the count of people in the band.

I want to highlight the databands where the count is > 1 so I add a condition to the band setting it to be an expression of "Count() > 1" (without the quotes). and setting the style. Nothing happens. I have also tried disabling on the same condition. Again nothing happens. The report is as normal.

I am using the 2008.1.228 build.

This is kind of urgent. Thanks.

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Contitions Not Working With Totals

Post by Edward »

This latest prerelease build contains new features which are concerned with processing of properties (tooltip, tag, hyperlink) in Conditions.

This feature also available for cross-tab. You can read more about this feature here:

http://forum.stimulsoft.com/Default.aspx?g=posts&t=1172

So you need to add just something like this in the Conditions property of the StiText component:

Code: Select all

int.Parse(value) > 1
Please open the attached report in Demo application to see this feature 'in action'.



Thank you.
Attachments
74.ConditionsAndAggregateFunctions.mrt
(15.7 KiB) Downloaded 301 times
Post Reply