FIRST-OF ( break-group )This procedure generates a report that lists all the item records grouped by catalog page. When the CatPage value changes, the procedure clears the current list of items and displays items belonging to the new catalog page. The FIRST-OF function uses the value of the CatPage field to determine when that value is different from the value during the last iteration.
FOR EACH Item BREAK BY Item.CatPage:IF FIRST-OF(Item.CatPage) THEN CLEAR ALL.DISPLAY Item.CatPage Item.ItemNum Item.ItemName.END.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |