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