Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

purpose

Former Member
0 Kudos

what is the purpose of event end-of-page and exactly at what situation it will trigger

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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