t3_chris Posted June 10, 2009 Share Posted June 10, 2009 Hi! I'm in need to sort my report by the value of the followingvVariable: <variable name="characterString" class="java.lang.String" resetType="None" calculation="Nothing"> <variableExpression><![CDATA[$F{virtualVendingmachine}.getVendingmachine().getBasemachine().getType().getCharacter().toString()]]></variableExpression> <initialValueExpression><![CDATA["init"]]></initialValueExpression> </variable> Is it possible to use a variable as sortField? <sortField name="$V{characterString}" /> Thanks for your help in anticipation! Best regards, christian Link to comment Share on other sites More sharing options...
sszretter Posted June 20, 2011 Share Posted June 20, 2011 Is it possible to sort by a variable? 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