Application Development and Automation 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: 
Read only

calculation

Former Member
0 Likes
745

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
Read only

Former Member
0 Likes
717

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

6 REPLIES 6
Read only

Former Member
0 Likes
718

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

Read only

0 Likes
717

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

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

Read only

0 Likes
717

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.

Read only

0 Likes
717

>

> 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.

Read only

Former Member
0 Likes
717

Hi

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

regards

venkat

Read only

Former Member
0 Likes
717

hi,

wat is the type of knwer

Regards,

Shankar.