User Tools

Site Tools


reset_set_total_reset_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== RESET (set total reset) ====== Previous pageReturn to chapter overviewNext page

RESET(breaklevel)

blk2blue.jpg

RESET Resets the CNT, SUM, AVE, MIN, or MAX to zero (0).
breaklevel The label of a BREAK structure.

The RESET attribute (PROP:RESET) specifies the group break at which the CNT, SUM, AVE, MIN, or MAX is reset to zero (0). PROP:RESET returns zero (0) if not present, else it returns the breaklevel nesting depth.

Example:

CustRpt REPORT,AT(1000,1000,6500,9000),THOUS

Break1   BREAK(Pre:Key1)

         HEADER,AT(0,0,6500,1000)

          STRING('Group Head'),AT(3000,500,1500,500),FONT('Arial',18)

         END

Detail    DETAIL,AT(0,0,6500,1000)

          STRING(@N$11.2),AT(6000,1500,500,500),USE(Pre:F1)

         END

         FOOTER,AT(0,0,6500,1000)

          STRING('Group Total:'),AT(5500,500,1500,500)

          STRING(@N$11.2),AT(6000,500,500,500),USE(Pre:F1),SUM,RESET(Break1)

         END

        END

       END

reset_set_total_reset_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)