Hi Elmer:
Good to hear from you. This will also do it. Sergy's and Charlie's idea also will do it. How do I mark a message as help to a thread? I would like to mark yours and Sergey's as help too.
Again thank you for your kind response.
>Henry,
>
>Will this work for you
>
>
>
>if between(left(msFeeCode,3),"003","011") ;
> and between(right(msFeeCode,1)"C","T")
> do case
> case Age <= 2
> Do this...
> case between(age,3,6)
> do this.....
> endcase
>endif
>
>
>>Hi Sergey:
>>
>>>I still don't understand what 'between 003 to 011C to T' means. Can you express it in some other form?
>>
>>They are fee codes and could be 003C or 0003D or 003E, F, G H....T
>>or it coule be 004C, 004D, 004E....004T and so on up to 011C to T.
>>
>>Hope this is clearer than my previous messages. So instead of writing code to check where it is a 003c, 003d or 008C or 008S, is there a better way of evaluating this. Thanks Sergey.
- Ravi
True greatness consists in being great in little things.
- Charles Simmons