Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine type of field
Message
From
30/01/2002 17:08:48
 
 
To
30/01/2002 17:03:09
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00613064
Message ID:
00613097
Views:
12
Vartype() always returns C for memo fields. That's one reason I always use Type().

Greg


>?Vartype(mymemofield) returns C not M
>?TYPE("mymemofield") returns M
>
>Not sure why vartype() acts different?
>
>
>
>
>>Vartype is supposed to be faster and you don't have to use the quotation marks around the expression.
>>
>>Greg
>>
>>
>>>Jerry,
>>>
>>>Also look at vartype() and afields() functions...
>>>
>>>>Is there a function to return the type of field in a table. We need to know if a field is a Character field, Numeric, etc...
>>>>
>>>>Thanks,
>>>>
>>>>Jerryt
Previous
Reply
Map
View

Click here to load this message in the networking platform