User Tools

Site Tools


addbreak_add_a_break_.htm
Navigation:  ABC Library Reference > BreakManagerClass > BreakManagerClass - Methods >====== AddBreak (add a Break) ====== Previous pageReturn to chapter overviewNext page

AddBreak( )

blk2blue.jpg

AddBreak     Identifies to the corresponding report that an embedded break object is active.

The AddBreak method identifies that an embedded break object is active for a corresponding report. An internal BreakID number is assigned for each break object created. This BreakID is incremented when a subsequent AddBreak method is executed.

Implementation:

The AddBreak method is called for each break object that is active for a report. Each object is instantiated from the LevelManagerClass. An AddLevel method follows each AddBreak method.

Example:

 BreakMgr.AddBreak()                 !First Break

 BreakMgr.AddLevel()                 !Auto assign level 1

 BreakMgr.AddResetField(PEO:Gender)

 BreakMgr.AddTotal(TestCount,1)

 BreakMgr.AddBreak()                 !Second Break

 BreakMgr.AddLevel() !Break2

See Also:     Add Level

addbreak_add_a_break_.htm.txt · Last modified: 2021/04/15 15:56 (external edit)