AddBreak (add a Break)

Top  Previous  Next

AddBreak( )

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