Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vartype with tables
Message
From
26/12/2007 03:42:09
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
25/12/2007 18:19:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01277433
Message ID:
01277472
Views:
13
>>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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform