>Hi Welington,
>
>thanks for answering me but in fact this is not what i need, what I need is the following:
>
>I have field on the report called netchange and this contains a value calculated inside the report and netchange it can + value or - value so I need to calculate only the + value in to a variable and the - value in anther value and sum both of them.
>
>
>so you can help ???
>
>thanks
>Hisham
Store max(0, value) to one report variable.
Store max(0, -value) to another report variable.
HTH, Hilmar.
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)