User Tools

Site Tools


addresetfield_add_a_reset_field_to_the_last_level_added_.htm
Navigation:  ABC Library Reference > BreakManagerClass > BreakManagerClass - Methods >====== AddResetField (add a reset field to the last Level added) ====== Previous pageReturn to chapter overviewNext page

AddResetField( fieldlabel )

blk2blue.jpg

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

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