Report displays error msg in Viewer when no rows found [message #242336] |
Tue, 12 June 2007 14:55 |
Eclipse User |
|
|
|
Originally posted by: BirtQ.yahoo.com
I have a bunch of reports that display the following error msg in the
report body when no rows are found for the criteria - but only when it is
run in the Viewer.
org.eclipse.birt.data.engine.script.DataExceptionMocker@22521
The report runs fine within Eclipse - with a result set of 0 or more rows.
In the report Viewer, displays the error msg instead of the footer row.
The one "weird" thing, is that I'm only displaying columns with
expressions - if I don't use an expression - it works - however, I'm using
the expression to display the data in the correct language.
<structure>
<property name="name">xxxType</property>
<property name="displayName">xxxType</property>
<expression name="expression">
if(BirtComp.equalTo(reportContext.getLocale().getLanguage(), "fr"))
row["xxx_type_fr"]
else
row["xxx_type_en"]
</expression>
<property name="dataType">string</property>
</structure>
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.04117 seconds