Im trying to do a sum of this formula, but it gives me no option to pick the formula in either SUM or RUNNING TOTAL.
I'm guessing from what I read in other posts that it has something to do with the PreviousValue() function or data type.
Any ideas on how to fix this would be greatly appreciated.
steve
If PreviousValue ({@LINEAMOUNT}) ={@LINEAMOUNT} and PreviousValue ({OECOINO.ORDUNIQ})= {OECOINO.ORDUNIQ} and PreviousValue ({OECOINO.DETAILNUM}) = {OECOINO.DETAILNUM} Then
formula = 0
Else
formula = {@LINEAMOUNT}
End If
I'm guessing from what I read in other posts that it has something to do with the PreviousValue() function or data type.
Any ideas on how to fix this would be greatly appreciated.
steve
If PreviousValue ({@LINEAMOUNT}) ={@LINEAMOUNT} and PreviousValue ({OECOINO.ORDUNIQ})= {OECOINO.ORDUNIQ} and PreviousValue ({OECOINO.DETAILNUM}) = {OECOINO.DETAILNUM} Then
formula = 0
Else
formula = {@LINEAMOUNT}
End If