Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this be done using IF Statements?
Message
From
27/11/2002 00:28:27
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727403
Message ID:
00727410
Views:
7
>Hi Henry,
>
>You might try a do case statement something like:
>
>
>If mCode = "5B" &&then check the age
> do case
> case between(the_age,1,54)
> use mCode
> case between(the_ age,55,64)
> use code "7B"
> case btween(the_age,65,74)
> use Code "6B"
> case the_age >= 75
> use code "1B"
> otherwise
> some error message
> endcase
>Endif

Thank you Leland. You and Sergey recommend the same. I will try them.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Reply
Map
View

Click here to load this message in the networking platform