>>How about:
>>
? iif(len(f)>0 .and. len(k)=0,;
>>iif(alltrim(skc.firma1)=f,"255",;
>>iif(len(f)>0 .and. len(k)>0,;
>>iif(alltrim(skc.firma1)=f .and. alltrim(skc.firmakod1)=k,"255","0"), "0")),"0")
>Thank you very very much.
>You have to facilatate my life %50.
>Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.
>
>Can you please tel me what is mi error.
>
>Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.Thanks.
Cemal,
It saved you :) But never use one letter variables/fieldnames especially if it's in the range "A-J" which are also used by fox as alias names.
PS: couldn't check working and not working ones.
Cetin