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

Stm

Former Member
0 Likes
489

Hi

I have a variable called ‘SUBTOTAL’ which may be a positive value ( eg 12345) or Negative value (eg : 12345-) When the variable ‘SUBTOTAL’ is of negative value then I should clear the variable ‘zfaxnumber’. ????

Thanks,

Vind.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
439

put like this

if sum lt 0.

clear field.

else.

do nothing.

endif.

Regards

Prabh

2 REPLIES 2
Read only

Former Member
0 Likes
440

put like this

if sum lt 0.

clear field.

else.

do nothing.

endif.

Regards

Prabh

Read only

Former Member
0 Likes
439

hi

good

you can give the condition like this

check the condition value first using a if loop and if the condition is true than you can write zfaxnumber = 0 or clear zfaxnumber.

thanks

mrutyun^