Salesforce

How Do I Implement Page-Based Calculations? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Implement Page-Based Calculations? (Magic xpa 3.x)

Sometimes you may need to have totals or other calculations done on a per-page basis. For instance, you might want to have the “total cost for this page” or increment the page number. However, for GUI reports, it is very difficult to manually figure out when a page is about to print, because the number of lines that print on a page can vary. So Magic xpa provides you with two internal events: Page Header and Page Footer, which allow you to do operations just before the Page Header or Page Footer print.

Note that you do not need to use these events to actually output the page header or footer, because these can be printed automatically.

See also

The Online and Rich Client Samples projects (program RP09 and RRP09)

Reference
Attachment 
Attachment