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 more When 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