Skip to Content
author's profile photo Former Member
Former Member

How to know when page break is triggered in smartform in case of multiple pages


I am developing payslip using HRFORMS smartforms, I need to print the earnings as shown in the image. I am printing the table in main window. In main area of table there is no horizontal line after each row but lines are drawn only at footer where totaling is done.


Now issue is when the table contains more records and page overflows, at end of first page there wont be horizontal line closing the table, but client wants horizontal line to end the table at first page and continue on second.

I cannot give main window margin because in case records are less then also table will close at bottom.

I was searching for any thing by which I can know page is going to break and on that condition print a line.

Please help me on this topic.

table-content.jpg (28.3 kB)
Add comment
10|10000 characters needed characters exceeded

0 Answers