| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > BreakManagerClass > BreakManagerClass - Methods >====== TakeEnd (Break closed) ====== | [[init initialize the breakmanager object .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[takestart break opened .htm|{{btn_next_n.gif|Next page}}]] | | || **TakeEnd ( )** {{blk2blue.jpg|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)**