on 01-29-2011 9:27 AM
Hello All,
my smartform has FIRST and NEXT pages. I would like to avoid a page break between last item line of a table in MAIN window and the footer of the same table.
Here is how it looks currently.
Output of FIRST page, MAIN window, table ITEMS:
1.line item
2.line item
3.line item
4.line item
page break
output of NEXT page, MAIN window, table ITEMS:
1.footer line
2.footer line
I would like that if a footer does not fit on FIRST page, it would be displayed on NEXT page with last item line.
It should be like this:
output of FIRST page, MAIN window, table ITEMS
1.line item
2.line item
3.line item
page break
output of NEXT page, MAIN window, table ITEMS
4.line item
1.footer line
2.footer line
Any ideas?
Thanks and best regards,
Mindaugas
Do you mean line item text or your want to print footer text?
If your trying yo display some footer text, then you either place a footer window or you can create a table inside your main window and place text under the footer of the table, then it will display the text without any page break.
If it is item tem.
Then you need to build additional logic. As we cannot guess, the total number of item text upfront.
Example: if page1 can hold 15 line items, check whether your header and item can fit in page one else call a new page by placing a condition FLAG = "X".
I hope it will help you to solve your problem.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
count the number of lines per page. And make use of this count to print entries on the first page and before the last line item call next page.
Regards,
Antim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.