gudaoxuri Posted August 10, 2009 Share Posted August 10, 2009 In a project, I need to use multilevel data structure. For example, The top level is Country.The next level is state, which is called province in China.The last level is city. Would you please tell me how to achieve it using Ireport. Now I can implement two-step data structure using sub-report of Ireport, The main report is country list,The sub-report is state list,But I cannot edit sub-report into sub-report mentioned above. I can’t find useful information on the Internet. So, would you please tell me the solution. Thanks. Link to comment Share on other sites More sharing options...
hangman01 Posted August 10, 2009 Share Posted August 10, 2009 I have not tried this yet but could you use the list element available in the 3.5.x versions of iReport? It is kind of like a subreport but inside the main reoprt. I am not sure if there is any limit to the number of them that you can have, or if they would work on a subreport. I would have to give the list object a try and see if that worked. Link to comment Share on other sites More sharing options...
leeyuiwah Posted August 10, 2009 Share Posted August 10, 2009 Hi, I remember this is possible. I once had a multi-page report. Each page has more than one charts, each is a subreport of a "page" report. The page report is itself a subreport which is called by the top-level report (the master report). In other words, this multi-page report has this structure (A -> B means B is a subreport called by A) master report -> page report -> individual charts 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