Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3917 Vistas

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
Descartar

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

Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 23
8464
0
mar 15
3296
0
nov 15
3676
2
mar 15
5186
1
mar 15
3946