11-11-2013 5:44 AM
Hello Experts,
Can we write the logic part of the report in the END-OF-SELECTION event??
11-11-2013 5:56 AM
Hi Sandeep
Just to give you a background why do we have start and end of selection. Earlier when STOP statment etc were allowed what we used to do was in start of selection at any point of time we think our data has been fetched and its a time to display it we will use STOP statement which will trigger the End of Selection. The end of selection use to contain the code where you write data on to the screen.
Now since these statement have been obsolete you can do at both places.
Please read documentation for more detail.
Nabheet
11-11-2013 5:47 AM
Hi Sandeep,
We can always write program logic in the END-OF-SELECTION event. Like the name says, it is used for processing the data that was selected/retrieved during START-OF-SELECTION event.
Regards,
~Athreya
11-11-2013 5:56 AM
Hi Sandeep
Just to give you a background why do we have start and end of selection. Earlier when STOP statment etc were allowed what we used to do was in start of selection at any point of time we think our data has been fetched and its a time to display it we will use STOP statement which will trigger the End of Selection. The end of selection use to contain the code where you write data on to the screen.
Now since these statement have been obsolete you can do at both places.
Please read documentation for more detail.
Nabheet
11-11-2013 6:11 AM
code in the end-of-selection are processed when all the logical database records are read.
11-11-2013 6:14 AM
Yes you can write program logic in END-OF-SELECTION, but depending upon the situation that logic is not has to be incorporated in some other Event block
11-11-2013 6:29 AM
11-11-2013 7:50 AM
Hi Sandeep Majumder
Can we write the logic part of the report in the END-OF-SELECTION event??
Yes... we write the logic part of the report in the END-OF-SELECTION event
11-11-2013 10:40 AM
Hi Sandeep,
END-OF-SELECTION is bascially we used in LDB to end GET statement.
In Normal Report it has not much significance.
Hope this helps.