>>>
IF UPPER(TYPE('oe_custcv'))="O" .AND. NOT ISNULL(Oe_custcv)
>>>
>>>Does TYPE sometimes return in lower case?
>>
>>I've never known it to. I just copied Tracy's code and made the modification. I've also seen
IF TYPE('oe_custcv') == "O"
and since (at least currently) it only returns a single character, I thought that was unnecessary as well.
>
>I do it [mindlessy] with double equals - the help documentation is the real villian!:-)
< g >Actually, I think that the expression might be able to be simplified by
IF VARTYPE(oe_custcv) # "X"
< s >
George
Ubi caritas et amor, deus ibi est