>>>>I guess the only limit is the limit for a procedure's total size.
>>>>
>>>>I'd also say that it doesn't matter (anymore) if a chr or num is "faster" because in today's CPUs the difference wouldn't be noticeable. Remember, you aren't necessarily executing all the CASEs every time.
>>>>
>>>>cheers
>>>
>>>Good point that you and Borislav made about the size of the procedure.
>>>I don't think I will hit it, yet, but need to consider it.
>>>
>>>Thank you for your input.
>>
>>You don't have 64K limit. I don't think you'd hit any limit with several hundred cases. Prefer numeric.
>>Cetin
>
>Cetin,
>
>Thank you for your help. Now after everybody criticized me for my bad design <g>, I found an easy approach without the DO CASE.
Good it wasn't only me who replied and you went another path:)
Cetin