Hello, I am facing a problem with setting the query for my subreport at runtime. I have to be able to change the 'order by'-clause for the subreport-query at runtime (in java application). Doing this for my master-report goes very well. Does anyone have an idea how to do this? I know it can be done with parameters, but I have to be able to set the order by clause of the subreport's query like order by col1 desc, col 2 col3 asc or order by col2 asc, col1 desc, col2 asc the table will always be the same and the returned colums from the query too... gr Geert Post Edited by gest at 08/28/2009 12:48 Post Edited by gest at 08/28/2009 12:49