Progress
Language Tutorial
for Character


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. Here’s how All Around Sports wants their footers to look:

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 Progress 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.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095