Try OpenEdge Now
skip to main content
Programming Interfaces
Input/Output Processes : Creating Reports : Designing frames for reports : Using the HEADER of a frame for running page footers
 
Using the HEADER of a frame for running page footers
You can also use the HEADER section to create running page footers. The only difference is that you specify PAGE-BOTTOM in the frame phrase instead of PAGE-TOP. This is how All Around Sports wants their footers to appear:
Customer Report continued on next page
Once again, the report needs a DEFINE FRAME statement with the HEADER option as this code shows:
DEFINE FRAME f-ftr
HEADER
"Customer Report"
"continued on next page"
/*1*/ WITH FRAME f-ftr PAGE-BOTTOM CENTERED STREAM-IO.
The PAGE-BOTTOM option tells the AVM to display the frame at the bottom of each page. PAGE-TOP and PAGE-BOTTOM frames are activated based on DISPLAY or VIEW statements. They are deactivated when the block to which the frames are scoped iterates or ends, which is why they have to be viewed in every iteration.