It seems to me it will work if first function call returns non-NULL value, and still fails if the first call returns NULL. At least, it does this way in VFP9.
>Great! Thanks a lot.
>
>I am curious, is the same workaround also required in later VFP versions?
>
>>Try
>>
>> ... IIF(.T., myfunc(OtherField), NULL)
>>
Edward Pikman
Independent Consultant