sriharigouru.career
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Downloads
Posts posted by sriharigouru.career
-
-
HI,
I have created a subdataset and using it for filling the crosstab. I need to do some caluclations on subdataset data in my custom scriplet.
When i get try to pull the values using getVariableValue/getFieldValue, I am getting below error. Any help is much appreciated in advance.
leaseexpirations is a feild of subdataset.
When i use:
this.getVariableValue("leaseexpirations");
Caused by: net.sf.jasperreports.engine.JRScriptletException: Variable not found : leaseexpirations
at net.sf.jasperreports.engine.JRAbstractScriptlet.getVariableValue(JRAbstractScriptlet.java:128)
at com.yieldstar.rms.pub.reports.ExpirationSummaryStatsScriplet.decideRedColor(ExpirationSummaryStatsScriplet.java:13)
at Expiration32Summary32Statistics_1358849276434_145563.evaluate(Expiration32Summary32Statistics_1358849276434_145563:220)
at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:190)
... 21 moreWhen i use:
this.getFieldValue("leaseexpirations");
Caused by: net.sf.jasperreports.engine.JRScriptletException: Field not found : leaseexpirations
at net.sf.jasperreports.engine.JRAbstractScriptlet.getFieldValue(JRAbstractScriptlet.java:114)
at com.yieldstar.rms.pub.reports.ExpirationSummaryStatsScriplet.decideRedColor(ExpirationSummaryStatsScriplet.java:14)Kind Regards,
Srihari Gouru
-
Can't we use the scriplets in crosstabs now also?
Unmerge columns in new excel sheet
in Products
Posted