AddResetField (add a reset field to the last Level added)

Top  Previous  Next

 

AddResetField( fieldlabel )

AddResetField

Identify a field to reset on the active break.

fieldlabel

The label of a field that the break will reset

The AddResetField method identifies the field whose contents will be reset when a break is executed.

Implementation:

The AddResetField method is called after each break and level is added, directly following the AddLevel method. In the template interface, it is only active when the Reset on Break option is set to TRUE.

Example:

 BreakMgr.AddBreak()                 !First Break

 BreakMgr.AddLevel()                 !Auto assign level 1

 BreakMgr.AddResetField(PEO:Gender)  !Reset on break is active

 BreakMgr.AddTotal(TestCount,1)

 BreakMgr.AddBreak()                 !Second Break

 BreakMgr.AddLevel() !Break2

 

See Also:     Add Break