on 09-12-2007 2:03 PM
hi experts,
my requirement is like this in main window if having some line items (say for example 5) more than wat we defined size it should continue with in same page how much the line items require and at the end footer is to display.
if line items may be continue next page also so the footer will display only on end of main window.
Hi,
If you want to display footer only at the end of main window, then select the condition at end of main window or put one flag in tabkle area of the from and set it
the problem here is the space for the foorter will unused and will be blank if the line items are more than one page
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the output property of Footer of the table in main window. Here select the options "AT PAGE BREAK" & "AT End of Table".
Ashvender
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As per my understanding, u have to print the footer at the end of main window.
1) Then do not create a Footer as part of the Main window create a Constant Window at the end of the Main window.
2) Create a Variable w_fire type C.
3) Create a Program Line and in that write w_fire = 'X'.
4) Give Condition in the Program Line as 'ONLY AFTER END OF MAIN WINDOW'.
5) Write Data in Footer only if w_fire = 'X'.
Hope That Helps
Anirban M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While creating the Window for the Footer, we have an option to select it to print after the MAIN window , In the Footer window Click on Condition Tab, there in the below you will find some checkboxes, there select 'Only After End of Main window'
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whn your last line item is reached in the main window.
Set a flag to X.
Check this flag in the conditons for footer window .
Then footer window will display only in the last page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes u r right this problem is going to come definitely, so there is a very silly solution that I had implemented.
Create the footer window and the Main window overlapping each other. Now u have to check how many lines of the MAIN window are coming into the footer window.
Check the flag and if the lines of the MAIN window are less than or equal to the number of lines that just fits the Main window without overlapping to the footer.
<i>Happy Debugging to find the number of lines.</i>
Hope That Helps
Anirban M.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.