2002 JI Open Discussion Posted August 19, 2006 Share Posted August 19, 2006 By: peter - pxiao can I call the variable from query field?? 2003-10-16 01:07 Hi all, I have problem running the jasper report at the moment, I was try to call a dynamic query from a variable, my code is : <variable name="noteQuery" class="java.lang.String" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[TestClass.getNoteQuery()]]></variableExpression> </variable> <queryString><![CDATA[$V{noteQuery}]]></queryString> when excuting the report ,it always return an error message,say problems with the $V{noteQuery}.. pls help... peter Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now