AddLevel (add a Level to the BreakId Break)

Top  Previous  Next

AddLevel( | breakid | )


Assign a level number to the active break.


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.


The AddLevel method is called after each break is added, directly following the AddBreak method.


 BreakMgr.AddBreak()                 !First Break

 BreakMgr.AddLevel()                 !Auto assign level 1



 BreakMgr.AddBreak()                 !Second Break

 BreakMgr.AddLevel() !Break2


See Also:     Add Break