Skip to Content
1

Smartforms page break based on condition & based on page no

Jan 17, 2017 at 05:17 AM

71

avatar image

Hello All,

I want to break Smartform page on based of condition (No of Line in Page) but on base of Page no. For Example: In 1st Page page should break on 10 line and next (2, 3 and so on) page should break on 24 lines.

Please guide.

Regards,

Yograj.

1.jpg (158.8 kB)
2.jpg (150.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Florian Henninger
Jan 22, 2017 at 07:37 PM
1

So first of all, you should rename all the generated variables because noone will understand this except you.

To your problem.. how should anybody help you, when you don't tell everything about your problem. What is meant by line. A tableentry?

If so, just take a global var and save the tabix into it and afterwards put a condition inside the table which will force the page-break. It sounds easy, it is easy;-)

Other solution.. do inside your code a tableread and get the index.. not that performant, but result is the same...

~Florian

Share
10 |10000 characters needed characters left characters exceeded