User Tools

Site Tools


addlevel_add_a_level_to_the_breakid_break_.htm
Navigation:  ABC Library Reference > BreakManagerClass > BreakManagerClass - Methods >====== AddLevel (add a Level to the BreakId Break) ====== Previous pageReturn to chapter overviewNext page

AddLevel( | breakid | )

blk2blue.jpg

AddLevel Assign a level number to the active break.
breakid An integer that identifies which internal break to assign this level to.

The AddLevel method identifies the order of break execution that is assigned to a corresponding report. This is used when nested breaks are assigned, and controls which break is executed first.

Implementation:

The AddLevel method is called after each break is added, directly following the 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 Break

addlevel_add_a_level_to_the_breakid_break_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1