Jump to content

Sort Input Control Query


klennon

Recommended Posts

I have an ireport that has a couple of input controls - that I am attempting to sort the values within the input pulling from a domain (this report is a domain sourced report).  The following query will populate a 2 column input:,

<?xml version="1.0" encoding="UTF-8"?><query xmlns="http://www.jaspersoft.com/2007/SL/XMLSchema">    <grouplist>        <group columnname="newSet1.dim_course1.dim_category1.parent_name2"/>    </grouplist>    <queryFields>        <queryField id="newSet1.dim_course1.dim_category1.parent_name2"/>        <queryField id="newSet1.dim_course1.dim_category1.category_name"/>    </queryFields>    <queryFilterString>        contains (newSet1.dim_course1.dim_category1.parent_name2,'PC Level')    </queryFilterString></query>[/code]

Here is what I see (based on the above code):

RA_input_control.png.6ce05ccbdd4fb0e640bc6b0ab5f7ea8b.png

I would like to sort the listing displayed to the end user by the field "parent_name2".

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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...