>>>Looks like I found a problem. LEN(Operator.nNetSend) returns 100 even though the field is empty. I thought LEN in VFP behaves the same as in SQL Server.
>>>
>>>UPDATE. Yes, after I added ALLTRIM it now works. Thanks again.
>>
>>:o)
>>Sorry for not answering you, but I fall asleep immediately after my last answer :-)
>
>Your help was enough to proceed, lately I just needed to keep conversing with myself :)
I always try to avoid conversing with myself. That's because it often turns into an argument, and I end up being angry at myself.