Skip to Content
avatar image
Former Member

Smartforms page break based on condition & based on page no

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 22, 2017 at 07:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded