06-16-2008 10:43 AM
hi all,
i want to add two amount field.
like field1 = 13,500
field2 = 1,000
when i run this program
it leds to short dump.
error shows
Unable to interpret " 13,905.04 " as a number.
how can add these fields having comma separator.
06-16-2008 10:46 AM
check the type of field 1 and field 2 the may be chars or the result field may be not an integer
06-16-2008 10:48 AM
Hello,
You can use the variable by defining it as TYPE P.
Reward if Helpful.
Regards,
Amit G.
06-16-2008 10:51 AM
Bala,
you have to code like this:
field3 = field1 + field2 .
remember in you case resulting set (field3) is not being decleare as type p.
you have to decleare all three fields as type p.
Amit.
06-16-2008 10:51 AM