>>I can use type for if there is a field in table:
>>
>>
?type("mytable.myfield")="U"
>>
>>but with vartype
>>
>>
?vartype("mytable.myfield")="U"
>>
>>is generates variable not found. Isn't that a bug?
>
>Metin,
>If that generated "variable not found" then certainly would be a bug. It should always return .F. when used like that.
>
>
>
?type("mytable.myfield")="U"
>
>
?vartype(mytable.myfield)="U"
>
>Cetin
I thought like you. Actually I didn't know vartype() function and I used type() for detect fields. Recently learned that function from you and saw that error...
Thanks All,