First, create a report variable called rnSumlose and define it as calculate SUM and the expression as flow_ra.lose. Set the reset value to end of report or data group or whatever fits your needs.
Now when you are ready to print, use rnSumlose + comm.sub2
>Dear Experts
>
>In report field expression I use following line
>
>sum(flow_ra.lose)+ comm.sub2
>
>But it creates error e.g.
>File ‘sum.prg’ does not exists.
>
>I do not want to use CALCULATION beacuse as expression
>sum(flow_ra.lose)+ comm.sub2
>I want to get the sum of (flow_ra.lose) and amount of (comm.sub2)
>
>How to use sum() in field expression?
>
>Please help