Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4002 Lượt xem

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..

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 23
8583
0
thg 3 15
3376
0
thg 11 15
3727
2
thg 3 15
5266
1
thg 3 15
4020