User Tools

Site Tools


takeend_break_closed_.htm
Navigation:  ABC Library Reference > BreakManagerClass > BreakManagerClass - Methods >====== TakeEnd (Break closed) ====== Previous pageReturn to chapter overviewNext page

TakeEnd ( )

blk2blue.jpg

TakeEnd A virtual method called prior to closing an active break.

The **TakeEnd **method is a virtual method that performs any necessary code action prior to the close of the active break.

Implementation:

The TakeEnd method is used by the ABC templates to print a custom footer detail for the active break. There are embed points available if you need to prime any variables prior to its printing.

Example:

BreakMgr.TakeEnd PROCEDURE(SHORT BreakId,SHORT LevelId)

**  CODE**

**     CASE BreakId**

**     END**

**     OF 2**

**      CASE LevelId**

**       OF 1 !SumBreak**

**        PRINT(RPT:sumdetail)**

**      END**

**     OF 3**

**      CASE LevelId**

**       OF 1 !ConditionalAverage**

**       PRINT(RPT:AverageDetail)**

**      END**

**     END**

**  PARENT.TakeEnd(BreakId,LevelId)**

takeend_break_closed_.htm.txt · Last modified: by 127.0.0.1