marten.carlzon Posted March 19, 2015 Share Posted March 19, 2015 Hello folks,I was wondering if it would be possible to fill a table veritcly? I am sitting with an XML that I am to transform into a report and my issue is that I dont know how many columns there will be beforehand so I would like to be able to fill the table column by column.I have tried to solve it with subreports but it doesnt come out nice. I have 3 subreports, first one have 7 columns in it and a call to one subreport. That have one textfield (because the title needs to be higher then the other text fields) and a call to my last subreport which just prints the values I have. Can this be simplyfied? (For instance programaticly set the height on a textfield if a parameter is true?)My information is like<columns> <column id="0"> <title>Title1</title> <value>Value</value> <value>Value</value> ... </column> <column id="1"> ... </column></columns>[/code]Any help would be much appreciated :)Write you later / Mårten Link to comment Share on other sites More sharing options...
Solution AnnMary.Thomas Posted March 20, 2015 Solution Share Posted March 20, 2015 The scenario what I understod is th output should be like Col1Col2Title 1Title2Val1val2...Val1Val2... Wy dont u place the Column name and tilte in Column header band. And in the detail band place List with Vertical Print. Link to comment Share on other sites More sharing options...
marten.carlzon Posted March 23, 2015 Author Share Posted March 23, 2015 Yes, thats how I want it to look, tried to make it but the preview tool always breaks down on me so didnt dare to show in case it would look bad :).Ahh, lists... had completely missed that tool :)Will look into it and see if I can make it work. Sadly I have run a little overtime with this task so might have to stick with the subreportsolution but thanks for the tip with the list and clever solution with columnheader!Thanks again for the tip! Link to comment Share on other sites More sharing options...
AnnMary.Thomas Posted March 24, 2015 Share Posted March 24, 2015 Please vote for my answer if it has helped you :). And also please use 'add Comment' for replying, otherwise whoever answers will not get notification for reply Link to comment Share on other sites More sharing options...
marten.carlzon Posted March 24, 2015 Author Share Posted March 24, 2015 Ahh, sorry, still a bit new here. Marked it now and thanks for also helping me how to manage on the comunity side :) Link to comment Share on other sites More sharing options...
AnnMary.Thomas Posted March 24, 2015 Share Posted March 24, 2015 Thank You :) 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