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: 

regarding Between option

venkata_reddy6
Participant
0 Kudos

Hi friends, this is very urgent, plz help me.

I want to write the condition for the below logic.

x value y value

-


_________________

If x is 0-<10 10,000 will be used

If x is 10-<100 1,000 will be used

Thanks and regards

Venkat

1 ACCEPTED SOLUTION

former_member208856
Active Contributor
0 Kudos

Hi,

use

IF x gt 0 and x lt 10.

y = 10,000.

endif.

IF x gt 10 and x lt 100.

y = 1,000.

endif.

Sandeep Kaushik

2 REPLIES 2

former_member208856
Active Contributor
0 Kudos

Hi,

use

IF x gt 0 and x lt 10.

y = 10,000.

endif.

IF x gt 10 and x lt 100.

y = 1,000.

endif.

Sandeep Kaushik

Former Member
0 Kudos

Hi

data: v_x type i , v_y type I, num type i.

x = 0, y= 10.

if x < y

num = 10,000.

endif.

x = 10, y = 100.

if x < y

num = 1,000.

endif.

Use that Num field in your code

Regards

Anji