07-10-2007 7:54 AM
what is the purpose of event end-of-page and exactly at what situation it will trigger
07-10-2007 7:59 AM
Hi
Strcitly speaking there is no special use except to trigger/print a horizonatal line /some data at the end of each page
End of page is needed to write the page end details such as sub total for that page or some comments at the end of each page
If the program is having lot of code these events will help us to find respective code where exactly it is written.
In a small program they are not that much useful, but are really useful in big programs which are having some 10000 lines of code.
<b>Reward points for useful Answers</b>
Regards
Anji
07-10-2007 7:59 AM
Hi
Strcitly speaking there is no special use except to trigger/print a horizonatal line /some data at the end of each page
End of page is needed to write the page end details such as sub total for that page or some comments at the end of each page
If the program is having lot of code these events will help us to find respective code where exactly it is written.
In a small program they are not that much useful, but are really useful in big programs which are having some 10000 lines of code.
<b>Reward points for useful Answers</b>
Regards
Anji
07-10-2007 8:05 AM
HI,
To define a page footer, use the END-OF-PAGE event. This event occurs if, while processing a list page, the system reaches the lines reserved for the page footer, or if the RESERVE statement triggers a page break. Fill the lines of the page footer in the processing block following the event keyword END-OF-PAGE:
end of page reffers after the display of whole page at the end of the page and end of selection reffers that after the selection screen what we can perform.
Regards
Sudheer