>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)