So I will try the new forum
I tried to use nested parameters in my query (suggestion from jasper forum) but now get the following error (I am using iReports 0.5.0 to create/compile my reports) when creating the query based on the reports: "General problem: Source file: inline evaluation of: ....."
What I did is:
create a string parameter P_ACC_YEAR and a second parameter P_AM_CY_FROM based on the first one default expr = "01.01.".concat($P{P_ACC_YEAR})
when I use "01.01.".concat("2006") instead it works.
Whats wrong?
friedrich
I tried to use nested parameters in my query (suggestion from jasper forum) but now get the following error (I am using iReports 0.5.0 to create/compile my reports) when creating the query based on the reports: "General problem: Source file: inline evaluation of: ....."
What I did is:
create a string parameter P_ACC_YEAR and a second parameter P_AM_CY_FROM based on the first one default expr = "01.01.".concat($P{P_ACC_YEAR})
when I use "01.01.".concat("2006") instead it works.
Whats wrong?
friedrich
2 Answers:
Posted on July 19, 2006 at 6:11am
Yes I set teh default parameters, see the snippet from the jrxml file
<parameter name="P_ACC_YEAR" isForPrompting="false" class="java.lang.String"><defaultValueExpression ><![CDATA["2006"]]></defaultValueExpression>
</parameter>
<parameter name="P_ACC_FROM" isForPrompting="false" class="java.lang.String"><defaultValueExpression ><![CDATA["01.01.".concat($P{P_ACC_YEAR})]]></defaultValueExpression>
</parameter>
regards
friedrich
<parameter name="P_ACC_YEAR" isForPrompting="false" class="java.lang.String"><defaultValueExpression ><![CDATA["2006"]]></defaultValueExpression>
</parameter>
<parameter name="P_ACC_FROM" isForPrompting="false" class="java.lang.String"><defaultValueExpression ><![CDATA["01.01.".concat($P{P_ACC_YEAR})]]></defaultValueExpression>
</parameter>
regards
friedrich