Jump to content
Changes to the Jaspersoft community edition download ×

can I call the variable from query field??


Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...