‎2007 Oct 15 12:17 PM
Hello experts..
I am trying this statement in my code, but it is showing error pls help.
vv007 = kbetr * absmg
here absmg is quan (15 , 3 decimals)
kbetr is curr (11, 2 decimals) ie rate
vv007 is curr(15, 2 decimals).
error is input value is greater than screen field ie vv007(table is ce1****).
‎2007 Oct 15 12:23 PM
change u r absmg to 2 decimals
or
change u r kbetr and w007 to 3 decimals
then it will work.
‎2007 Oct 15 1:08 PM
hi Shiva,
it's showing error when u Check the code or when u run the program?
if when it's run, U can try <b>Increasing the size of the field "w007"</b>.
I think this:
U have one value size 15 ( no decimals ) and outher of size 11.
look this example:
a = '999999999' "(size 9 without decimals)
b = '999999999' "(size 9 without decimals)
c = a * b.
*c has the value "999999998000000001" and size 18 (more than 15).
maybe this is the error...
try to increaser the size of field of the screen(Paint) and Increase the size of field...
Post urs results plx.
Regards
Allan Cristian
‎2007 Oct 15 2:16 PM
hi
good
debug the report and check the value for the vv007 that you are entering in the screen field. and again you check what is the value of kbetr and abmsmg .
thanks
mrutyun^