on 01-10-2012 11:50 AM
Hi All,
I am trying to develop one smartfrom for PO print. The structure is like below
---header
---Address details
---main window
-
table( PO Lines )
--footer window
-
totals...etc
My problem is if my PO contains 30 line items, i have to display in first page with header & main window only.....and second page should be only main window and so...on....and at the last page should be main window and footer window.
If i am fixing the main window size is fixed for page then it can go for overflow and it is showing blank in midle pages (in places of header window and footer window becoz of those should appear in first and last pages respectively) its working fine.
But its looking odd, if it is going for more than 3 pages. In center pages, top & bottom are blank and only main window is overflowing.
Is there any way to increase the size of main window for center pages not for first and last pages?
Can any one help me.
Thanks in Advance.
Hi Vishnu,
You need to change the UPPER and HEIGHT values for the MAIN window on the second and subsequent pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friend,
Its simple to achieve your logic.
Just create header and address window at first.
Then if there are multiple PO elements and it will be in an internal table.
Just create a loop for the internal table and then put the main window inside that. Then perform the loop operation.
Since main window grows dynamically according to the data it grows to next page with out considering other windows at next page we will not be getting the header of footer window at second page.
Then after the loop create a footer window. After execution of the main window the footer window will be displayed at the last.
So the flow will be like this
---header
---Address details
Loop
---main window
-
table( PO Lines )
endloop.
--footer window
-
totals
Simple change.
If your logic is like this only means then there is another one simple logic,
At the header and address window just select the option "Only on First page" at conditions tab.
At the footer window select the option "Only after end of main window".
I think this will solve your issue if no please revert back to me i will help you.
Thanks,
Sri Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.