TakeEnd (Break closed)

Top  Previous  Next

 

TakeEnd ( )

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)