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

regarding Between option

Former Member
0 Likes
530

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

Former Member
0 Likes
501

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

Former Member
0 Likes
502

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

Read only

Former Member
0 Likes
501

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