>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
You can sum flow_ra.lose separately. Create a report variable, that you might call total_loss (1), set it to your field (flow_ra.lose), and set the sum options. Then set your report field's expression to
total_loss + comm.sub2.
HTH,
Hilmar.
(1) Note: "lose" is a verb; "loss" is the amount of money you lose.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)