on 09-04-2008 4:39 AM
Hi All,
I want to print some text at the bottom of last page main window.But how can we find that it is last page.I mean which condition we have to put for that.
I think the below condition like
If last-page NE ' 0'.
write : '----
'.......... will be used for printing at last page footer window.
what about main window........how to find that it is the main window of last page............
Thanks in advance ....
Regards,
Rakesh.
Hi,
you can use this
IF NEXT_PAGE EQ ' 0 '.
write the text here.
ENDIF.
in the main window itself. Once all the records got printed, it will check that there is no next page. at that time, that was the end of the internal table in the mainwindow and the text will be printed.
If you want a seperate window, then also the same logic will work.
If you want a seperate window, then the output look and feel will not be so good.
I mean where ever the last record got completed, it will print the text if you put it in Main window. other wise statically it will print at a particular position where your window was placed.
Regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
&NEXTPAGE& eq 0 condition gives you the last page.
You can check this condition in your main window and write the code to be displayed between if and endif.
eg.
if &nextpage& eq 0.
This is final text
endif.
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In your Main window, at the end write command
BOTTOM , ENDBOTTOM, as this command is like END-OF-PAGE in List Output.
Syntax
/: BOTTOM
/: IF &NEXTPAGE& EQ 0.
P1 write the text here.
/: ENDIF.
/: ENDBOTTOM
Regards
Bala Krishna
Edited by: Bala Krishna on Sep 4, 2008 10:17 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do you want to write at the end of main window it self or to write text at last page. To write the text in last page it is better to keep the text in the separate window. and trigger the text write the condition as
IF NEXT_PAGE EQ ' 0 '.
write the text here.
ENDIF.
Or else just write the same in the main window itself.
Hope this will help you,
Regards.
Aswini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You just mention the text in your footer whichever you'ld like print after the end of the main window. Select the output options of your footer node. Uncheck the option At page break,check the option At end of table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.