popularanky
Posts: 53
|
| Posted: 09/13/2007, 6:37 AM |
|
i have a grid form with three rows: balance1, total1 and total2 . i want to sum balance1 and total1 into total2 (total2.value = balance1.value + total1.value). eg if balance1 is 10 and total1 is 5 the result will be ( 10 + 5 = 15) when i sum. it works well, but when the the value for total1 is negative i.e total1 is -5, the sum of balance1 + total1 will not work. i.e (10 + (-5)) will still give me 15. instate of 5.
i just hope i am not doing any wrong.
Ubong
_________________
EKERE UBONG UBONG
IT Officer
CognitiveDrive |
 |
 |
mhope
Posts: 37
|
| Posted: 09/13/2007, 7:44 PM |
|
total2.value = (balance1.value + total1.value)
|
 |
 |
|