upanshuvaid Posted January 30, 2020 Share Posted January 30, 2020 Hi The fields are not decided at report template creation time below is the requirment that is to be acomplished1- if report has 2 fields than it should print like field1 field22-if report has 3 fields than it should print like field1 field2 field33- if n number of fields than it should print like field1 field2 field3 field4 fieldnthat to in horizontal direction.Thanks Link to comment Share on other sites More sharing options...
I am Leo Posted January 31, 2020 Share Posted January 31, 2020 Try to use List component Link to comment Share on other sites More sharing options...
swood_1 Posted February 4, 2020 Share Posted February 4, 2020 A JasperReport is based on a fixed set of fields returned by a query. If the query can return variable columns, say:make the column names abstract in the query - field1, field2define the fields in the report to be the maximum number expectedif the query does not provide a particular column, the corresponding field in the report will be nullinclude logic in the report to manage field with content or nullSherman 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