CASE - checking for a range ?

Discussion in 'Questions (Windows Mobile)' started by TWELVE, Jun 21, 2008.


    TWELVE Active Member Licensed User


    my forum search did not present a solution, so 'm sorry if the answer is already somewhere in a post.

    Can i make CASE checking for a range of numbers instead of a single number..?


    Select Value

    Case 0-33: do something

    Case 34-70:do something else

    End Select

    This means: if value is somewhere in the range between 0 to 33, then...

    Is this possible..? and if so, how is the correct syntax for this..?an
    If not, how can i check for a range without tons of If..then statements..?


  2. Erel

    Erel Administrator Staff Member Licensed User

    Case checks for district values.
    You can not use it for checking range of numbers.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice