muzzy2828 Posted January 3, 2013 Share Posted January 3, 2013 Hi I have an criteria frame and I choose some criteras from this screen, for example if I check a checkbox then I want to be add an extra column in ireport dynamically Link to comment Share on other sites More sharing options...
ajinkya_c Posted January 4, 2013 Share Posted January 4, 2013 Design your report with all columns and handle the hide/unhide using "Print When Expression" & parameter value.But the position of the columns are static. Link to comment Share on other sites More sharing options...
oesina Posted January 4, 2013 Share Posted January 4, 2013 You can also pass your column name as report parameter, for exampledisplayColumn with a list of values. Then in your query you can make something likeselect $P{displayColumn} as displayField from myTableSo that you have field in the report to create tables and charts with a constant name.Good luck reporting! Link to comment Share on other sites More sharing options...
muzzy2828 Posted January 4, 2013 Author Share Posted January 4, 2013 yes I tried it before but after remove column, next column's place didn't change. I need to shift remaning columns to left dynamic Link to comment Share on other sites More sharing options...
mithal.tirani Posted July 11, 2014 Share Posted July 11, 2014 Hello i'm trying to do that,select $P{ColumnsToDisplay} as displayField from myTable it doesn't work:( 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