Hi Kebbon,

I read this with great interest as I have an identical requirement. However,
I use Unidata and this technique does not seem to work, in either ECLTYPE.
 Does anybody have a UDT solution?
0001: I
0002: @1...@record<8>
0003: MD2
0004: RUNNING TOT
0005: 10R

I was quite surprised that this worked in UV. It makes an assumption that the @1 variable persists beyond the life of the I-type. It also makes an assumption that the query includes no other I-types that would overwrite this value.

It has always struck me as odd that the query language doesn't have a keyword to do this much like totals, averages, etc. At risk of being told that I am shouting on the wrong list, QM does.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to