>>>>IF lcStr = UPPER(lcStr )
>...
>>Use the double == for this test...
>>It will work on all SET EXACT settings.
>
>I think SET EXACT is irrelevant in this specific example, because the strings have the same length.
>
>I do agree that == is better, but for another reason: collation sequences.
>
>
>set collate to "general"
>? "abc" = "ABC"
>? "abc" == "ABC"
>
Thanks, you save the day! :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca