Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

calculation

Former Member
0 Kudos

hii

i wanted to confirm whether if we do

v_total = v_total + kwer(quantity)

note the v_total is a char and kwer is qty this will cause a high risk of dump??

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

why don't you try ?instead of waiting for replies so long .

6 REPLIES 6

former_member181995
Active Contributor
0 Kudos

why don't you try ?instead of waiting for replies so long .

0 Kudos

i did try and it work find when i executed the prog .

But when i put a breakpoint sometimes i get dump sometimes not

0 Kudos

Hi,

I guess you might be getting an dump when there is a comma in the value ie 1,000 will result in a dump saying unable to recognise it as a number.

K.Kiran.

0 Kudos

>

> i did try and it work find when i executed the prog .

>

>

> But when i put a breakpoint sometimes i get dump sometimes not

Sometimes it works cause only when v_total is initial.else Dump.

Former Member
0 Kudos

Hi

declare any local varibal of char data type them move quantity field to this local variable then you do sum.

regards

venkat

former_member182426
Active Contributor
0 Kudos

hi,

wat is the type of knwer

Regards,

Shankar.