Why don't display 0 in aggregate information [message #989875] |
Sat, 08 December 2012 20:53  |
Eclipse User |
|
|
|
Hi,
The version is 4.2.1. I use it in a windows7 32bit OS.
In a sales report every week, I group date by region to display sales subtotals by region. In Aggregation Builder, i use the SUM function to compute the sum. If there is no records in a region, then, it will not display 0, but nothing(a blank table cell). So, in script, I select the 'onCreate', then entry script statement as below,
if(this.getValue()==null){
this.setDisplayValue("0");
}
It will display 0 in report designer, but display nothing(a blank table cell) in IE or Chrome when i deployed the report in a Tomcat.
I greatly appreciate all help.
Thanks.
[Updated on: Sat, 08 December 2012 20:54] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07893 seconds