Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3943 Zobrazení

I created a report in rml with pto and pto_header. Because there is so many records in a table so it will exceed to next page. and I want to repeat table header in next page, that's why i used pto and pto_header in my rml. It works fine, but problem is, the table in last page moving to right so that some fields are out of the page. Here is my code.


<pto>

<para style="P8">[[ repeatIn(objects,'o') ]]</para>

<para style="Standard">[[ setLang(o.partner_id.lang) ]]</para>

<para style="P3">

<font color="white"> </font>

</para>

<pto_header>

<blockTable colWidths="0.53in,0.44in,0.38in" repeatRows='1' style="Table6" rowHeights="0.30in" >

<tr>

<td>

<para style="P2">JOINT NOS</para>

</td>

<td>

<para style="P2">PIPE LENGTH</para>

</td>

<td>

<para style="P2">BODY COND</para>

</td>

</tr>

</blockTable>

<blockTable colWidths="0.53in,0.44in,0.38in" repeatRows='1' style="Table6" rowHeights="0.30in" >

<tr>

<td>

<para style="P2">JOINT NOS</para>

</td>

<td>

<para style="P2">PIPE LENGTH</para>

</td>

<td>

<para style="P2">BODY COND</para>

</td>

</tr>

</blockTable>

<section>

<para style="P7">[[repeatIn(sort(o.inspection_lines),'line')]]</para>

<para style="Standard">[[ setLang(o.partner_id.lang) ]]</para>

<blockTable colWidths="0.53in,0.44in,0.38in" repeatRows="1" style="Table6" rowHeights="0.13in" valign="MIDDLE">

<tr>

<td>

<para style="P7">

<font color="black">[[ line.name ]] </font>

</para>

</td>

<td>

<para style="P7">

<font color="black">[[ line.pipe_length ]] </font>

</para>

</td>

<td>

<para style="P7">

<font color="black">[[ line.body_condition ]] </font>

</para>

</td>

</tr>

</blockTable>

</section>

</pto>


Pleas give solution.. thanks in advance..

Avatar
Zrušit

This is also my problem. I still don't get why this is happening. Did you manage to solve this?

Nejlepší odpověď

This is also my problem. I still don't get why this is happening. Did you manage to solve this?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
bře 23
8503
0
bře 15
3335
0
lis 15
3701
2
bře 15
5220
1
bře 15
3969