I have an orderline table which has QTY field and I would like to group items the way it is shown in image. I tried using this: FOR EACH RobotOrderline NO-LOCK BREAK BY RobotOrderline.OrderedQty. DISPLAY RobotOrderline.OrderedQty. END. But even the grouping seems wrong. Continue reading...