User Tools

Site Tools


takestart_break_opened_.htm
Navigation:  ABC Library Reference > BreakManagerClass > BreakManagerClass - Methods >====== TakeStart (Break opened) ====== Previous pageReturn to chapter overviewNext page

TakeStart ( )

blk2blue.jpg

TakeStart A virtual method called prior to the start of an active break.

The TakeStart method is a virtual method that performs any necessary code action prior to the start of the active break.

Implementation:

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

Example:

BreakMgr.TakeStart PROCEDURE(SHORT BreakId,SHORT LevelId)

 CODE

    CASE BreakId

    OF 1

        CASE LevelId

        OF 1 !Count Break

        PRINT(RPT:CountDetail)

        END

    OF 3

        CASE LevelId

        OF 1 !ConditionalAverage

        PRINT(RPT:AverageDetail)

        END

    END

 PARENT.TakeStart(BreakId,LevelId)

takestart_break_opened_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1