Skip to Content

regarding Between option

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 09, 2007 at 05:36 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 09, 2007 at 05:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded