you cannot summarize anything using a previous() or next() function.
Two ususal solutions.
1. Using shared variable formulas.
YOu need 3 of these (per group)
2. Use running totals.
I prefer RTs when possible
I think this will work for you.
create one formula as
//discount --or whatever you want
make a running total (using field explorer)
Name=whatever
type=sum (assuming you want a sum)
evaluate=on change of field - select QuoteDtl.DisplaySeq
reset=never (unless you need group totals)
Only thing I am not sure about is your @SalesKitLine formula
NOTE: Both solutions require you place the summary in the detail and or footer. Neither work in a header.
Edited by DBlank - 19 Nov 2014 at 7:52am