Report summary message

Stimulsoft Reports.NET discussion
Post Reply
Martin
Posts: 5
Joined: Thu Sep 11, 2014 5:19 am

Report summary message

Post by Martin »

On standard data band variable print out numerical values. Normally values are grater then 0 or equal to 0. In some cases some value can be smaller than 0 (negative number).

I would like to create some condition which print out notification text at the end of report in situation when at least one value in data band is smaller than 0.

Please give some help on which direction looking for solution!

Thank you.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Report summary message

Post by Jan »

Hello Martin,

You can use following expression in Conditions of the ReportSummaryBand:

Code: Select all

Totals.Sum(Products, Products.UnitsInStock < 0 ? 1: 0) == 0
Also you need set Component Is Enabled check box to false.

Please check attached image.

Please contact us if you have any additional questions!

Thank you.
Attachments
Conditions.png
Conditions.png (213.45 KiB) Viewed 959 times
Post Reply