>>>>I have an array which contains the name of some fields in my table. From that array, I would like to extract the type of the field. Is there a way to do that from the array?
>>>
>>>
>>>? type(myfields(i))
>>>
>>
>>That returns N even if my field type is I.
>
>Sorry, I didn't check that case. Interesting to note that it does return "M" for memos.
>
>In that case, it seems to me that you are forced to use afields(), which would require more work.
Yes, exactly, this is what I am forced to do:
lcType=laChamp(ASCAN(laChamp,lcField)/16,3)