Actually, there are two issues with summary line:
1. 4GL side.
2. GUI side.
The 4GL side is how to define the summary line.
- Should this be free fields you can manipulate anyway you want ?
i.e.
DISPLAY ARRAY ...
BEFORE DISPLAY
LET summary.discount = calculateDiscountSum()
LET summary.total = calculateTotalSum()
ON KEY(F5)
DISPLAY "foo" TO summary.XXX
END DISPLAY
- Should this something completely static, i.e.
TABLE
{
[a |b ]
[a |b ]
[a |b ]
}
END
ATTRIBUTES
EDIT a = orders.customer, SUMMARYLINE="count";
EDIT b = orders.total, SUMMARYLINE="sum";
And everything is done for you ?
On the GUI side, the main issue is there is no such widget out of the box in the GUI Toolkit we're using for GDC ; we've been told several times: "this is likely to be done in the next release". Therefore we decided to focus on something else instead of spending hours on doing our own widget which may be made obsolete in a near future.
Unfortunately the widget is still not here - this also explains why the 4GL side has not been decided yet.
Any comment or suggestion on the 4GL defintion is welcome (I bet that if the definition side is done, this will push the GUI side).