Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Type() and a variable working together
Message
From
15/06/2004 12:20:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
15/06/2004 12:14:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00913936
Message ID:
00913940
Views:
12
>Hi, all
> I am working with vfp6 sp5.
>
> I have a variable that holds the name of the field from a table:
> lcFieldnm = FIELD(lnColloop, 'ctmpname')
>
> I need to check what the data type of the field is and ;
> TYPE("lcFieldnm") just gives me the type of the variable "C"
>
>I need the type of the field.

Then just omit the quotation marks.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform