Fill a table verticly

0

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>

Any help would be much appreciated :)

Write you later / Mårten

marten.carlzon's picture
Joined: Jan 28 2015 - 2:30am
Last seen: 6 months 4 days ago

2 Answers:

0

The scenario what I understod is th output should be like

                         

Col1 Col2
Title 1 Title2

Val1

val2

.

.

.

Val1

Val2

.

.

.

 

 

Wy dont u place the Column name and tilte in Column header band. And in the detail band place List with Vertical Print.

AnnMary.Thomas's picture
Joined: Jun 18 2014 - 4:41am
Last seen: 4 years 22 hours ago
0

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!

marten.carlzon's picture
Joined: Jan 28 2015 - 2:30am
Last seen: 6 months 4 days ago

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

AnnMary.Thomas - 5 years 6 months ago

Ahh, sorry, still a bit new here. Marked it now and thanks for also helping me how to manage on the comunity side :)

marten.carlzon - 5 years 6 months ago

Thank You :)

AnnMary.Thomas - 5 years 6 months ago
Feedback
randomness